From f91898b537d1452c2cba3a105ba9a824aaff66c7 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Thu, 30 Jan 2014 17:33:52 +0000 Subject: [PATCH] Patch pour XHPRof --- bureau/admin/foot.php | 2 +- bureau/class/config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bureau/admin/foot.php b/bureau/admin/foot.php index 812e41ce..f28b9502 100644 --- a/bureau/admin/foot.php +++ b/bureau/admin/foot.php @@ -10,6 +10,6 @@ if ( isset($debug_alternc) && $debug_alternc->status ) { diff --git a/bureau/class/config.php b/bureau/class/config.php index 400eef21..9bf189f5 100644 --- a/bureau/class/config.php +++ b/bureau/class/config.php @@ -29,7 +29,7 @@ */ define('DO_XHPROF_STATS', FALSE); -require_once('xhprof_header.php'); +if (DO_XHPROF_STATS) require_once('xhprof_header.php'); // To enable the display of the alternc debug error, do the following : // # touch /etc/alternc/alternc_display_php_error