More rewrites of constants and fix for loading mass-included scripts by GET_DIR_AS_AR...
[mailer.git] / beg.php
diff --git a/beg.php b/beg.php
index bcc39658e6b1b83cab5b098f1a297fd0e1ca5276..ab2817211a5a5265c6ad2f70ceedad3260955746 100644 (file)
--- a/beg.php
+++ b/beg.php
@@ -52,7 +52,7 @@ require("inc/config.php");
 REDIRCT_ON_UNINSTALLED_EXTENSION("beg");
 
 // Is the script installed?
-if (isBooleanConstantAndTrue('mxchange_installed')) {
+if (isInstalled()) {
        // Check for userid
        if (REQUEST_ISSET_GET(('uid'))) {
                // Init variables