From d526decc4884710ae7fafe7aa5171e7f59b24292 Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Sun, 27 Dec 2009 15:44:57 +0000 Subject: MySQL -> MySQLi Fixed memory leaks after Fetching arrays Removed all while loops that interfaced with $db->Fetch() Rewrote RSS module Fixed syntax error in donations module Fixed link structure for news module Reverting to old page display method git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@402 c5b2fb0a-d05d-0410-98c8-828840a80ff6 --- includes/debug.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/debug.php') diff --git a/includes/debug.php b/includes/debug.php index c67ee9c..2f6e40a 100644 --- a/includes/debug.php +++ b/includes/debug.php @@ -33,13 +33,13 @@ static $log_message_pos = 0; function decho($message, $force = false) { global $log_message_last, $log_message_queue, $log_message_pos, $config; - /* + if($force == false) { if($config['debug']['enabled'] == false || $config['debug']['show_messages'] == false) return; } - */ + date_default_timezone_set($config['logs']['timezone']); $timestamp = date('H:i:s T'); -- cgit