mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
17 lines
405 B
Text
17 lines
405 B
Text
<?php
|
|
|
|
/**
|
|
* To use a profiler, copy this file to StartProfiler.php,
|
|
* and add something like this:
|
|
*
|
|
* $wgProfiler['class'] = 'Profiler';
|
|
*
|
|
* Or for a sampling profiler:
|
|
* if ( !mt_rand( 0, 100 ) ) {
|
|
* $wgProfiler['class'] = 'Profiler';
|
|
* } else {
|
|
* $wgProfiler['class'] = 'ProfilerStub';
|
|
* }
|
|
*
|
|
* Configuration of the profiler output can be done in LocalSettings.php
|
|
*/
|