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 6701) Kazakh language variants in MessagesEn.php
[lhc/web/wiklou.git]
/
StartProfiler.php
diff --git
a/StartProfiler.php
b/StartProfiler.php
index
ff51fbf
..
8fc3ff8
100644
(file)
--- a/
StartProfiler.php
+++ b/
StartProfiler.php
@@
-1,19
+1,19
@@
<?php
<?php
-require_once(
'.
/includes/ProfilerStub.php' );
+require_once(
dirname(__FILE__).'
/includes/ProfilerStub.php' );
/**
* To use a profiler, delete the line above and add something like this:
*
/**
* To use a profiler, delete the line above and add something like this:
*
- * require_once(
'.
/includes/Profiler.php' );
+ * require_once(
dirname(__FILE__).'
/includes/Profiler.php' );
* $wgProfiler = new Profiler;
*
* Or for a sampling profiler:
* if ( !mt_rand( 0, 100 ) ) {
* $wgProfiler = new Profiler;
*
* Or for a sampling profiler:
* if ( !mt_rand( 0, 100 ) ) {
- * require_once(
'.
/includes/Profiler.php' );
+ * require_once(
dirname(__FILE__).'
/includes/Profiler.php' );
* $wgProfiler = new Profiler;
* } else {
* $wgProfiler = new Profiler;
* } else {
- * require_once(
'.
/includes/ProfilerStub.php' );
+ * require_once(
dirname(__FILE__).'
/includes/ProfilerStub.php' );
* }
*
* Configuration of the profiler output can be done in LocalSettings.php
* }
*
* Configuration of the profiler output can be done in LocalSettings.php