Index: trunk/phase3/includes/ProfilerSimple.php |
— | — | @@ -4,7 +4,9 @@ |
5 | 5 | * @ingroup Profiler |
6 | 6 | */ |
7 | 7 | |
8 | | -require_once(dirname(__FILE__).'/Profiler.php'); |
| 8 | +if ( !class_exists( 'Profiler' ) ) { |
| 9 | + require_once(dirname(__FILE__).'/Profiler.php'); |
| 10 | +} |
9 | 11 | |
10 | 12 | /** |
11 | 13 | * Simple profiler base class. |