Remove StartProfiler.php, removed with no explanation in r50299, causing fatals on...
authorAndrew Garrett <werdna@users.mediawiki.org>
Thu, 7 May 2009 07:27:01 +0000 (07:27 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Thu, 7 May 2009 07:27:01 +0000 (07:27 +0000)
StartProfiler.php [new file with mode: 0644]

diff --git a/StartProfiler.php b/StartProfiler.php
new file mode 100644 (file)
index 0000000..3fcf69e
--- /dev/null
@@ -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
+ */
+
+