improved integration into category bar. Note: options is not functional until SkinJo...
[lhc/web/wiklou.git] / StartProfiler.php
1 <?php
2
3 #require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
4
5 require_once( dirname(__FILE__).'/includes/Profiler.php' );
6 $wgProfiler = new Profiler;
7
8 /**
9 * To use a profiler, delete the line above and add something like this:
10 *
11 * require_once( dirname(__FILE__).'/includes/Profiler.php' );
12 * $wgProfiler = new Profiler;
13 *
14 * Or for a sampling profiler:
15 * if ( !mt_rand( 0, 100 ) ) {
16 * require_once( dirname(__FILE__).'/includes/Profiler.php' );
17 * $wgProfiler = new Profiler;
18 * } else {
19 * require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
20 * }
21 *
22 * Configuration of the profiler output can be done in LocalSettings.php
23 */
24
25