From 72e90545454c0e014318fa3c81658e035aac58c1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 10 Jun 2009 13:00:47 +0200 Subject: applying patch to version 1.15.0 --- includes/ProfilerSimple.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes/ProfilerSimple.php') 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. -- cgit v1.2.2