r69886 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69885‎ | r69886 | r69887 >
Date:18:04, 25 July 2010
Author:platonides
Status:ok
Tags:
Comment:
I don't think you wanted to assign $IP as a local variable...
Modified paths:
  • /trunk/phase3/includes/installer/Installer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/Installer.php
@@ -650,6 +650,7 @@
651651 * Environment check for setting $IP and $wgScriptPath.
652652 */
653653 public function envCheckPath() {
 654+ global $IP;
654655 $IP = dirname( dirname( dirname( __FILE__ ) ) );
655656
656657 $this->setVar( 'IP', $IP );
@@ -896,4 +897,4 @@
897898 return false;
898899 }
899900
900 -}
\ No newline at end of file
 901+}

Status & tagging log