From a487825dcea64b83f06df7a9cd5efd12464661ae Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 25 Jul 2010 18:04:41 +0000 Subject: [PATCH] I don't think you wanted to assign $IP as a local variable... --- includes/installer/Installer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index a8a641b6da..f8491747b3 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -650,6 +650,7 @@ abstract class Installer { * Environment check for setting $IP and $wgScriptPath. */ public function envCheckPath() { + global $IP; $IP = dirname( dirname( dirname( __FILE__ ) ) ); $this->setVar( 'IP', $IP ); @@ -896,4 +897,4 @@ abstract class Installer { return false; } -} \ No newline at end of file +} -- 2.20.1