More rewrites of constants and fix for loading mass-included scripts by GET_DIR_AS_AR...
[mailer.git] / surfbar.php
index 01ddd7e..3e10594 100644 (file)
@@ -50,7 +50,7 @@ $msg = null;
 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");