aboutsummaryrefslogtreecommitdiff
path: root/includes/debug.php
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-27 10:44:57 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-27 10:44:57 -0500
commitd526decc4884710ae7fafe7aa5171e7f59b24292 (patch)
tree12c07f3ef6ab9bf5a4f278a7b00720996c41667d /includes/debug.php
parent07253dc75c69cf585ad39a218f3f2cf97b773987 (diff)
downloadbayonetcms-d526decc4884710ae7fafe7aa5171e7f59b24292.tar.gz
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
Diffstat (limited to 'includes/debug.php')
-rw-r--r--includes/debug.php4
1 files changed, 2 insertions, 2 deletions
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');