Manual:$wgScript

From MediaWiki.org

Jump to: navigation, search
Paths: $wgScript
The URL of index.php.
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed values: relative path
Default value: "{$wgScriptPath}/index.php"
"{$wgScriptPath}/index.phtml" before v1.2.0
(Note: Since the default value of this variable depends on other variables, such default value is set in Setup.php, after LocalSettings.php is executed)

Other settings: Alphabetical | By Function


[edit] Details

The URL of index.php, relative to DOCUMENT_ROOT.

Note: $wgArticlePath is defined relative to $wgScript. If you redefine this in your LocalSettings.php then you must also make sure you update $wgArticlePath.

[edit] See Also