]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-members.php
More fixes from profi-concept for extension loading, guest/member menu and smaller...
[mailer.git] / inc / modules / guest / action-members.php
index 32dd12b65d83ec500da0d69d51010050831c1f79..75779be80c7cd1f78d6e54b0142579b4594669bb 100644 (file)
 if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
+} elseif ($BLOCK_MODE) {
+       // Block mode detected
+       return;
 }
 
 // Add description as navigation point
-ADD_DESCR("guest", basename(__FILE__));
+ADD_DESCR("guest", __FILE__);
 
 // Load the include file
-$INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, $GLOBALS['what']);
+$INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what']));
 if (FILE_READABLE($INC)) {
        // Ok, we finally load the guest action module
        include($INC);