]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-admin.php
moved into
[mailer.git] / inc / modules / guest / action-admin.php
index 6b3787f03a8718fd24c553b410540e2803e67b45..038bf7cc91875671f489edb0363a6754ec36e918 100644 (file)
@@ -35,7 +35,7 @@
 if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
-} elseif ($BLOCK_MODE) {
+} elseif ($GLOBALS['block_mode']) {
        // Block mode detected
        return;
 }
@@ -46,7 +46,7 @@ if (INCLUDE_READABLE($INC)) {
        // Ok, we finally load the guest action module
        LOAD_INC($INC);
 } else {
-       addFatalMessage(getMessage('GUEST_404_ACTION'), $GLOBALS['what']);
+       addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_ACTION'), $GLOBALS['what']);
 }
 
 //