diff options
author | Waldir Pimenta <waldir@email.com> | 2013-02-15 07:31:48 +0000 |
---|---|---|
committer | Krinkle <krinklemail@gmail.com> | 2014-03-28 01:05:30 +0000 |
commit | 86a9b8c06c446d4afa688bc81832813e0f8e32df (patch) | |
tree | e0d883d685cc23f8f5e84f84348273a66ea10401 /mw-config/index.php | |
parent | dc27e4cd0f74a09b95866de877011387c3f1b9e7 (diff) | |
download | mediawikicore-86a9b8c06c446d4afa688bc81832813e0f8e32df.tar.gz mediawikicore-86a9b8c06c446d4afa688bc81832813e0f8e32df.zip |
Clean up access points
* Harmonize spacing
* Use // for comments rather than #
* Harmonize call style for 'require', 'include' etc.
* Add missing profileinfo.php5
* Use "./" for path to api.php in api.php5 (to match other php5 files).
* Move documentation related to Setup.php from index.php to WebStart.php
* Remove "Initialise common code." comment in api.php (was already remove
in most entry points)
Change-Id: I8dc4a79fd13cee49e34f250a4039b3666bd42aca
Diffstat (limited to 'mw-config/index.php')
-rw-r--r-- | mw-config/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mw-config/index.php b/mw-config/index.php index 570b426edcd0..fc7eadb5a48b 100644 --- a/mw-config/index.php +++ b/mw-config/index.php @@ -23,6 +23,8 @@ define( 'MW_CONFIG_CALLBACK', 'Installer::overrideConfig' ); define( 'MEDIAWIKI_INSTALL', true ); +// Resolve relative to regular MediaWiki root +// instead of mw-config subdirectory. chdir( dirname( __DIR__ ) ); require dirname( __DIR__ ) . '/includes/WebStart.php'; |