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.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mw-config/index.php b/mw-config/index.php
index c00a0d01..1e6d0e4f 100644
--- a/mw-config/index.php
+++ b/mw-config/index.php
@@ -9,7 +9,11 @@ define( 'MW_CONFIG_CALLBACK', 'Installer::overrideConfig' );
define( 'MEDIAWIKI_INSTALL', true );
chdir( dirname( dirname( __FILE__ ) ) );
-require( dirname( dirname( __FILE__ ) ) . '/includes/WebStart.php' );
+if ( isset( $_SERVER['MW_COMPILED'] ) ) {
+ require ( 'phase3/includes/WebStart.php' );
+} else {
+ require( dirname( dirname( __FILE__ ) ) . '/includes/WebStart.php' );
+}
wfInstallerMain();