Help:$smwgConfigFileDir

is a configuration parameter that sets the directory for storing the setup information file ".smw.json" which is holding the upgrade key which verifies and ensures that the upgrade of the database was done correctly, i.e. by running or  respectively. It was introduced in CiteRef::gh:smw:3596.

Default setting
This means that by default the setup information file ".smw.json" will be stored in the root directory of the Semantic MediaWiki Software, i.e..

Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the  call:

This means that the setup information file ".smw.json" will be stored in the base directory for the wikiCiteRef::install:base:dir, e.g..
 * Change the standard directory to store the file to the base directory of the wiki

This means that the setup information file ".smw.json" will be stored in.
 * Change the standard directory to store the file to a completely different directory