Surfbar continued and some rewrites/fixes:
[mailer.git] / confirm.php
index 6e44e253088f1ed91f784000f3bdab51d8b1df3e..b6542b63204c40575f2a38d54152f37a827b8e1a 100644 (file)
@@ -42,10 +42,10 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "confirm"; $CSS = -1;
 
 // Load the required file(s)
-require ("inc/config.php");
+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=";