]> git.mxchange.org Git - mailer.git/blobdiff - inc/check-reset.php
Typos fixed, function IS_SQLS_INITIALIZED() added
[mailer.git] / inc / check-reset.php
index 44e0944eb0d7783731eac96028d75b8d2b49a9d4..98e515afb74699e6c0a50b82bf587cc6fbed9a01 100644 (file)
@@ -37,8 +37,8 @@ if (!defined('__SECURITY')) {
        require($INC);
 }
 
-// 01    2              3             32        2         3321    12        3                     32    2                    21    1                        2                    21    1                        2                  21    1      2                 21    1                            10
-if ((date("d", getConfig('last_update')) != date("d", time())) && ((!defined('mxchange_installing')) || (!mxchange_installing)) && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')) && (!isset($_GET['register'])) && ($GLOBALS['output_mode'] != 1)) {
+// 01    2              3             32        2         3321    12        3                     32    2                    21    1                        2                    21    1                        2                  21    1                  23          321    1                            10
+if ((date("d", getConfig('last_update')) != date("d", time())) && ((!defined('mxchange_installing')) || (!mxchange_installing)) && (isInstalled()) && (isAdminRegistered()) && (!REQUEST_ISSET_GET(('register'))) && ($GLOBALS['output_mode'] != 1)) {
        // Do daily things in external PHP file but only when script is completely setup
        // Daily reset was run!
        define('__DAILY_RESET', true);
@@ -47,7 +47,7 @@ if ((date("d", getConfig('last_update')) != date("d", time())) && ((!defined('mx
        $INC_POOL = RESET_ADD_INCLUDES();
 
        // Run the filter
-       RUN_FILTER('load_includes', $INC_POOL);
+       runFilterChain('load_includes', $INC_POOL);
 } // END - if
 
 //