r50324 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50323‎ | r50324 | r50325 >
Date:20:30, 7 May 2009
Author:demon
Status:ok (Comments)
Tags:
Comment:
Followup to r50316: Fix inclusion of profiler in maintenance scripts.
Modified paths:
  • /trunk/phase3/maintenance/commandLine.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/commandLine.inc
@@ -44,7 +44,9 @@
4545 ? getenv('MW_INSTALL_PATH')
4646 : realpath( dirname( __FILE__ ) . '/..' );
4747 #chdir( $IP );
48 -require_once( "$IP/StartProfiler.php" );
 48+if ( file_exists( "$IP/StartProfiler.php" ) ) {
 49+ require_once( "$IP/StartProfiler.php" );
 50+}
4951
5052 $options = array();
5153 $args = array();

Follow-up revisions

RevisionCommit summaryAuthorDate
r50330* Fix for r50316 and r50324: require ProfilerStub.php if StartProfiler.php do...ialex08:54, 8 May 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50316Removed StartProfiler.php from SVN control and added StartProfiler.sample fil...aaron18:30, 7 May 2009

Comments

#Comment by IAlex (talk | contribs)   08:55, 8 May 2009

fixed in r50330.

Status & tagging log