dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(bug 41330) Default to the current year in the history page filter form
[lhc/web/wiklou.git]
/
StartProfiler.sample
diff --git
a/StartProfiler.sample
b/StartProfiler.sample
index
f91aeb9
..
ba8fe8b
100644
(file)
--- a/
StartProfiler.sample
+++ b/
StartProfiler.sample
@@
-1,22
+1,18
@@
<?php
<?php
-require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
-
/**
* To use a profiler, copy this file to StartProfiler.php,
/**
* To use a profiler, copy this file to StartProfiler.php,
- *
delete the PHP line above,
and add something like this:
+ * and add something like this:
*
*
- * require_once( dirname(__FILE__).'/includes/Profiler.php' );
- * $wgProfiler = new Profiler;
+ * $wgProfiler['class'] = 'Profiler';
*
* Or for a sampling profiler:
* if ( !mt_rand( 0, 100 ) ) {
*
* Or for a sampling profiler:
* if ( !mt_rand( 0, 100 ) ) {
- * require_once( dirname(__FILE__).'/includes/Profiler.php' );
- * $wgProfiler = new Profiler;
+ * $wgProfiler['class'] = 'Profiler';
* } else {
* } else {
- *
require_once( dirname(__FILE__).'/includes/ProfilerStub.php' )
;
+ *
$wgProfiler['class'] = 'ProfilerStub'
;
* }
* }
- *
+ *
* Configuration of the profiler output can be done in LocalSettings.php
*/
* Configuration of the profiler output can be done in LocalSettings.php
*/