More rewrites of constants and fix for loading mass-included scripts by GET_DIR_AS_AR...
[mailer.git] / confirm.php
index a865009f7cd08b7843557e3330eff071d85850fc..cf27796429a14bf4027ce490db1765970fb28df9 100644 (file)
@@ -46,7 +46,7 @@ $GLOBALS['output_mode'] = -1;
 require("inc/config.php");
 
 // Is the script installed?
-if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered'))) {
+if ((isInstalled()) && (isAdminRegistered())) {
        // Base URL for redirection
        $URL = "modules.php?module=index&what=confirm&hash=";
        if (!REQUEST_ISSET_GET(('hash'))) {