summaryrefslogtreecommitdiff
path: root/includes/ProfilerSimple.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ProfilerSimple.php')
-rw-r--r--includes/ProfilerSimple.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/ProfilerSimple.php b/includes/ProfilerSimple.php
index 349a7cac..5989061d 100644
--- 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.