]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-logout.php
->['month_descr'], fix in registration page
[mailer.git] / inc / modules / member / action-logout.php
index e3f4de5bbabb088fa8388b83c8155bc781412836..186f716c5160a21011e501fa2b8158afe8e70052 100644 (file)
@@ -37,7 +37,7 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
-} elseif ($BLOCK_MODE) {
+} elseif ($GLOBALS['block_mode']) {
        // Block mode detected
        return;
 }
@@ -47,11 +47,11 @@ ADD_DESCR("member", __FILE__);
 
 // Load the include file
 $INC = sprintf("inc/modules/member/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
-if (FILE_READABLE($INC)) {
+if (INCLUDE_READABLE($INC)) {
        // Ok, we finally load the member action module
        LOAD_INC($INC);
 } else {
-       addFatalMessage(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2);
+       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('MEMBER_404_ACTION'), $GLOBALS['what']));
 }
 
 //