More rewrites of constants and fix for loading mass-included scripts by GET_DIR_AS_AR...
[mailer.git] / debug.php
index 533676e3f9fe6fabca4ecfe93110740bcdb5dc9c..01198f58f5bee6ce650cb69f96cf29910474004c 100644 (file)
--- a/debug.php
+++ b/debug.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')) && (getTotalFatalErrors() == 0)) {
+if ((isInstalled()) && (getTotalFatalErrors() == 0)) {
        // Is the extension installed?
        if (!EXT_IS_ACTIVE("debug")) {
                // Then abort here