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 20336) changed json_decode json_encode to static class in global functions
[lhc/web/wiklou.git]
/
includes
/
ProfilerSimple.php
diff --git
a/includes/ProfilerSimple.php
b/includes/ProfilerSimple.php
index
349a7ca
..
5989061
100644
(file)
--- a/
includes/ProfilerSimple.php
+++ b/
includes/ProfilerSimple.php
@@
-4,7
+4,9
@@
* @ingroup Profiler
*/
-require_once(dirname(__FILE__).'/Profiler.php');
+if ( !class_exists( 'Profiler' ) ) {
+ require_once(dirname(__FILE__).'/Profiler.php');
+}
/**
* Simple profiler base class.