From: Roland Häder Date: Mon, 8 Sep 2008 22:27:31 +0000 (+0000) Subject: Debug mode removed from reset X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=360c95a5bfa12df5434ed421bd3abd26b42bb211;p=mailer.git Debug mode removed from reset --- 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);