StartProfiler.sample 405 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * To use a profiler, copy this file to StartProfiler.php,
  4. * and add something like this:
  5. *
  6. * $wgProfiler['class'] = 'Profiler';
  7. *
  8. * Or for a sampling profiler:
  9. * if ( !mt_rand( 0, 100 ) ) {
  10. * $wgProfiler['class'] = 'Profiler';
  11. * } else {
  12. * $wgProfiler['class'] = 'ProfilerStub';
  13. * }
  14. *
  15. * Configuration of the profiler output can be done in LocalSettings.php
  16. */