From c9f8696d6e2a7a174128d3a29a13630b21e9fb68 Mon Sep 17 00:00:00 2001 From: Platonides Date: Mon, 13 Dec 2010 15:49:05 +0000 Subject: [PATCH] Do not assume that the current working dir is phase3/config --- config/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/index.php b/config/index.php index 9c395e5874..e394a0428a 100644 --- a/config/index.php +++ b/config/index.php @@ -8,8 +8,8 @@ define( 'MW_CONFIG_CALLBACK', 'CoreInstaller::overrideConfig' ); define( 'MEDIAWIKI_INSTALL', true ); -chdir( ".." ); -require( './includes/WebStart.php' ); +chdir( dirname( dirname( __FILE__ ) ) ); +require( dirname( dirname( __FILE__ ) ) . '/includes/WebStart.php' ); wfInstallerMain(); -- 2.20.1