I don't think you wanted to assign $IP as a local variable...
authorPlatonides <platonides@users.mediawiki.org>
Sun, 25 Jul 2010 18:04:41 +0000 (18:04 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 25 Jul 2010 18:04:41 +0000 (18:04 +0000)
includes/installer/Installer.php

index a8a641b..f849174 100644 (file)
@@ -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
+}