Manual:$IP

From MediaWiki.org

Jump to: navigation, search
Paths: $IP
The full path to the installation directory.
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed Values: String containing an absolute path. Required.
Default Value: None

Other settings: Alphabetical | By Function


[edit] Details

IP stands for include path. The variable holds the local file path to the base installation of your wiki. Make sure you refer to the fully qualified file path. Do not include a slash at the end of the path.

The 'DefaultSettings.php' file gets loaded from the directory designated by the IP variable.

Unlike other variables, this setting is not found in DefaultSettings.php, it must be set in LocalSettings.php before DefaultSettings.php is loaded. This is one of the few settings (along with the DB settings) that must be set in order for MediaWiki to run.

Personal tools