More rewrites of constants and fix for loading mass-included scripts by GET_DIR_AS_AR...
[mailer.git] / surfbar.php
index 01ddd7e57ac7de9a95560f288dfd63f636b26ce9..3e10594f6744bac813a03fd4baeff59f6f8716ab 100644 (file)
@@ -50,7 +50,7 @@ $msg = null;
 require("inc/config.php");
 
 // Is the script installed?
 require("inc/config.php");
 
 // Is the script installed?
-if (isBooleanConstantAndTrue('mxchange_installed')) {
+if (isInstalled()) {
        // Only logged in users may use this surfbar!
        REDIRECT_ON_UNINSTALLED_EXTENSION("surfbar");
 
        // Only logged in users may use this surfbar!
        REDIRECT_ON_UNINSTALLED_EXTENSION("surfbar");