- Daily/weekly/monthly reset completely rewritten
[mailer.git] / confirm.php
index 6e44e25..571941f 100644 (file)
@@ -45,7 +45,7 @@ $GLOBALS['module'] = "confirm"; $CSS = -1;
 require ("inc/config.php");
 
 // Is the script installed?
-if (defined('mxchange_installed') && (mxchange_installed) && (admin_registered))
+if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')))
 {
        // Base URL for redirection
        $URL = URL."/modules.php?module=index&what=confirm&hash=";