]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-members.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / modules / guest / action-members.php
index c98d8569e598e30191f423ffae17be5d763b5a5a..a3261d0b41c9c4ab8e5c2d606d2894481102dc99 100644 (file)
@@ -40,7 +40,7 @@
 if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
-} elseif ($GLOBALS['block_mode']) {
+} elseif (isBlockModeEnabled()) {
        // Block mode detected
        return;
 }
@@ -54,8 +54,8 @@ if (isIncludeReadable($INC)) {
        // Ok, we finally load the guest action module
        loadInclude($INC);
 } else {
-       addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_ACTION'), getWhat());
+       addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_WHAT'), getWhat());
 }
 
-//
+// [EOF]
 ?>