From 360c95a5bfa12df5434ed421bd3abd26b42bb211 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 8 Sep 2008 22:27:31 +0000 Subject: [PATCH] Debug mode removed from reset --- inc/mysql-connect.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 0bc771cb16..59921655d4 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -124,7 +124,8 @@ LIMIT 1", __FILE__, __LINE__); require_once(PATH."inc/theme-manager.php"); // Run daily reset - if ((date("d", $_CONFIG['last_update']) != date("d", time()) || ((isBooleanConstantAndTrue('DEBUG_MODE')))) && (!isBooleanConstantAndTrue('mxchange_installing')) && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')) && (!isset($_GET['register'])) && ($CSS != 1)) { + // 01 2 2 2 3321 1 2 21 1 2 21 1 2 21 1 2 21 1 10 + if ((date("d", $_CONFIG['last_update']) != date("d", time())) && (!isBooleanConstantAndTrue('mxchange_installing')) && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')) && (!isset($_GET['register'])) && ($CSS != 1)) { // Do daily things in external PHP file but only when script is completely setup $INC_POOL = array(); $INC_POOL[] = sprintf("%sinc/reset/reset_daily.php", PATH); -- 2.39.2