New wrapper functions enableBlockMode() and isBlockModeEnabled() introduced
[mailer.git] / inc / modules / guest / action-main.php
index 2515ae59d8b050d27c02c7d1889655a2df5ebefe..9b7e984c4ab41421b93737c79f9cecafa242c64a 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;
 }