is_readable
[mailer.git] / mailid.php
index 68192d26c8513eb9c137034ed41137a5dbac4111..9b4c5786e653e99ff8e05a98447a70861781ba63 100644 (file)
@@ -44,7 +44,7 @@ $GLOBALS['module'] = "mailid"; $CSS = -1;
 // Load the required file(s)
 require ("inc/config.php");
 
-if (defined('mxchange_installed') && (mxchange_installed))
+if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed')))
 {
        // Is the extension active
        if (!EXT_IS_ACTIVE("mailid", true)) {
@@ -200,7 +200,7 @@ if (defined('mxchange_installed') && (mxchange_installed))
 
        // Error code is set?
        if (!empty($msg)) {
-               LOAD_URL(URL."/modules.php?module=index&msg=".$msg);
+               LOAD_URL("modules.php?module=index&msg=".$msg);
        }
 
        require_once(PATH."inc/footer.php");