More rewrites of constants and fix for loading mass-included scripts by GET_DIR_AS_AR...
[mailer.git] / ref.php
diff --git a/ref.php b/ref.php
index 35b1e175feb92d6f829c4795330737e8a002707e..c26ce8bfde155334eabeb6ad31918cb9b0cad3be 100644 (file)
--- a/ref.php
+++ b/ref.php
@@ -46,7 +46,7 @@ $GLOBALS['output_mode'] = -1;
 require("inc/config.php");
 
 // Redirect only to registration page when this script is installed
-if (isBooleanConstantAndTrue('mxchange_installed')) {
+if (isInstalled()) {
        // Base URL for redirection
        switch (getConfig('refid_target'))
        {