Remove StartProfiler.php, removed with no explanation in r50299, causing fatals on all installations.
This commit is contained in:
parent
de0760246c
commit
672f2cb42b
1 changed files with 22 additions and 0 deletions
22
StartProfiler.php
Normal file
22
StartProfiler.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
|
||||
|
||||
/**
|
||||
* To use a profiler, delete the line above and add something like this:
|
||||
*
|
||||
* require_once( dirname(__FILE__).'/includes/Profiler.php' );
|
||||
* $wgProfiler = new Profiler;
|
||||
*
|
||||
* Or for a sampling profiler:
|
||||
* if ( !mt_rand( 0, 100 ) ) {
|
||||
* require_once( dirname(__FILE__).'/includes/Profiler.php' );
|
||||
* $wgProfiler = new Profiler;
|
||||
* } else {
|
||||
* require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
|
||||
* }
|
||||
*
|
||||
* Configuration of the profiler output can be done in LocalSettings.php
|
||||
*/
|
||||
|
||||
|
||||
Loading…
Reference in a new issue