Surfbar continued and some rewrites/fixes:
[mailer.git] / confirm.php
index 42165299f6a1f40701398a3aea3fd5ddc55fdc63..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=";
@@ -66,7 +66,7 @@ if (defined('mxchange_installed') && (mxchange_installed) && (admin_registered))
  else
 {
        // You have to configure first!
-       LOAD_URL(URL."/install.php");
+       LOAD_URL("install.php");
 }
 // Really all done here... ;-)
 ?>