r24314 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24313‎ | r24314 | r24315 >
Date:15:07, 22 July 2007
Author:tstarling
Status:old
Tags:
Comment:
rv again
Modified paths:
  • /trunk/phase3/StartProfiler.php (modified) (history)

Diff [purge]

Index: trunk/phase3/StartProfiler.php
@@ -1,24 +1,22 @@
22 <?php
33
4 -#require_once( './includes/ProfilerStub.php' );
 4+require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
55
66 /**
77 * To use a profiler, delete the line above and add something like this:
88 *
9 - * require_once( './includes/Profiler.php' );
 9+ * require_once( dirname(__FILE__).'/includes/Profiler.php' );
1010 * $wgProfiler = new Profiler;
1111 *
1212 * Or for a sampling profiler:
1313 * if ( !mt_rand( 0, 100 ) ) {
14 - * require_once( './includes/Profiler.php' );
 14+ * require_once( dirname(__FILE__).'/includes/Profiler.php' );
1515 * $wgProfiler = new Profiler;
1616 * } else {
17 - * require_once( './includes/ProfilerStub.php' );
 17+ * require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
1818 * }
1919 *
2020 * Configuration of the profiler output can be done in LocalSettings.php
2121 */
22 -require_once( dirname(__FILE__).'/includes/Profiler.php' );
23 -$wgProfiler = new Profiler;
2422
2523

Follow-up revisions

RevisionCommit summaryAuthorDate
r24346Merged revisions 24302-24345 via svnmerge from...david23:41, 23 July 2007

Status & tagging log