r93727 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93726‎ | r93727 | r93728 >
Date:11:45, 2 August 2011
Author:tstarling
Status:ok
Tags:
Comment:
Use the same $IP for web and CLI to avoid destroying the l10n cache
Modified paths:
  • /trunk/tools/mwmultiversion/multiversion/MWVersion.php (modified) (history)

Diff [purge]

Index: trunk/tools/mwmultiversion/multiversion/MWVersion.php
@@ -88,7 +88,7 @@
8989 $version = $multiVersion->getVersion();
9090
9191 # Get the correct MediaWiki path based on this version...
92 - $IP = dirname( __FILE__ ) . "/../$version";
 92+ $IP = dirname( dirname( __FILE__ ) ) . "/$version";
9393
9494 chdir( $IP );
9595 putenv( "MW_INSTALL_PATH=$IP" );

Status & tagging log