Debug mode removed from reset
authorRoland Häder <roland@mxchange.org>
Mon, 8 Sep 2008 22:27:31 +0000 (22:27 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 8 Sep 2008 22:27:31 +0000 (22:27 +0000)
inc/mysql-connect.php

index 0bc771c..5992165 100644 (file)
@@ -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);