* Introduced FileRepoStatus -- result class for file repo operations.
[lhc/web/wiklou.git] / StartProfiler.php
index 3fcf69e..15c39da 100644 (file)
@@ -1,22 +1,24 @@
 <?php
 
-require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
+#require_once( './includes/ProfilerStub.php' );
 
 /**
  * To use a profiler, delete the line above and add something like this:
  *
- *   require_once(  dirname(__FILE__).'/includes/Profiler.php' );
+ *   require_once( './includes/Profiler.php' );
  *   $wgProfiler = new Profiler;
  *
  * Or for a sampling profiler:
  *   if ( !mt_rand( 0, 100 ) ) {
- *       require_once(  dirname(__FILE__).'/includes/Profiler.php' );
+ *       require_once( './includes/Profiler.php' );
  *       $wgProfiler = new Profiler;
  *   } else {
- *       require_once(  dirname(__FILE__).'/includes/ProfilerStub.php' );
+ *       require_once( './includes/ProfilerStub.php' );
  *   }
  * 
  * Configuration of the profiler output can be done in LocalSettings.php
  */
+require_once( dirname(__FILE__).'/includes/Profiler.php' );
+$wgProfiler = new Profiler;