r13428 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r13427‎ | r13428 | r13429 >
Date:04:17, 2 April 2006
Author:brion
Status:old
Tags:
Comment:
Live fix: include ProfilerStub.php, some scripts need it
Modified paths:
  • /trunk/phase3/maintenance/commandLine.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/commandLine.inc
@@ -131,6 +131,7 @@
132132 $DP = $IP;
133133 ini_set( 'include_path', ".:$IP:$IP/includes:$IP/languages:$IP/maintenance" );
134134
 135+ require_once( $IP.'/includes/ProfilerStub.php' );
135136 require_once( $IP.'/includes/Defines.php' );
136137 require_once( $IP.'/CommonSettings.php' );
137138
@@ -157,6 +158,7 @@
158159 }
159160 $wgCommandLineMode = true;
160161 $DP = $IP;
 162+ require_once( $IP.'/includes/ProfilerStub.php' );
161163 require_once( $IP.'/includes/Defines.php' );
162164 require_once( $settingsFile );
163165 ini_set( 'include_path', ".$sep$IP$sep$IP/includes$sep$IP/languages$sep$IP/maintenance" );

Status & tagging log