X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fcheck-reset.php;h=45c59f4341294693073bc75e6bc6770ddfb9ea4f;hb=9b87babf90b27658be4a1cef2c0465e2ce9ed681;hp=7de291abbfe311f37bc7668a2524a4237feb0c7a;hpb=d8148e3f1f3a6762b2e786dbe99ada269dcf2ea0;p=mailer.git diff --git a/inc/check-reset.php b/inc/check-reset.php index 7de291abbf..45c59f4341 100644 --- a/inc/check-reset.php +++ b/inc/check-reset.php @@ -38,7 +38,7 @@ if (!defined('__SECURITY')) { } // 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)) && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')) && (!REQUEST_ISSET_GET(('register'))) && ($GLOBALS['output_mode'] != 1)) { +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);