From 9021990c13a5f26adf80efe3c1066114073ef21d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 9 Feb 2008 16:24:09 +0000 Subject: [PATCH] * Use full path (for example for apc.filters) --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 9df147fd90..46784400a4 100644 --- a/index.php +++ b/index.php @@ -35,10 +35,11 @@ # Initialise common code -require_once( './includes/WebStart.php' ); +$preIP = dirname( __FILE__ ); +require_once( "$preIP/includes/WebStart.php" ); # Initialize MediaWiki base class -require_once( "includes/Wiki.php" ); +require_once( "$preIP/includes/Wiki.php" ); $mediaWiki = new MediaWiki(); wfProfileIn( 'main-misc-setup' ); -- 2.20.1