summaryrefslogtreecommitdiff
path: root/mw-config/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mw-config/index.php')
-rw-r--r--mw-config/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mw-config/index.php b/mw-config/index.php
index c65be69c..065d1879 100644
--- a/mw-config/index.php
+++ b/mw-config/index.php
@@ -8,11 +8,11 @@
define( 'MW_CONFIG_CALLBACK', 'Installer::overrideConfig' );
define( 'MEDIAWIKI_INSTALL', true );
-chdir( dirname( dirname( __FILE__ ) ) );
+chdir( dirname( __DIR__ ) );
if ( isset( $_SERVER['MW_COMPILED'] ) ) {
- require ( 'phase3/includes/WebStart.php' );
+ require ( 'core/includes/WebStart.php' );
} else {
- require( dirname( dirname( __FILE__ ) ) . '/includes/WebStart.php' );
+ require( dirname( __DIR__ ) . '/includes/WebStart.php' );
}
wfInstallerMain();
@@ -20,7 +20,7 @@ wfInstallerMain();
function wfInstallerMain() {
global $wgRequest, $wgLang, $wgMetaNamespace, $wgCanonicalNamespaceNames;
- $installer = new WebInstaller( $wgRequest );
+ $installer = InstallerOverrides::getWebInstaller( $wgRequest );
if ( !$installer->startSession() ) {
$installer->finish();