X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-sponsor_login.php;h=cf6f8bd7fd63e9521fde8b0f5d7a60a7087a043c;hp=0a8b505de56df1f13e4359edf2242bd576b21173;hb=357b2ca133fc1f89db74097955c366cb4bee6996;hpb=41e2891fb998d13b22b8d7984358f258cc85267d diff --git a/inc/modules/guest/what-sponsor_login.php b/inc/modules/guest/what-sponsor_login.php index 0a8b505de5..cf6f8bd7fd 100644 --- a/inc/modules/guest/what-sponsor_login.php +++ b/inc/modules/guest/what-sponsor_login.php @@ -31,14 +31,13 @@ ************************************************************************/ // Some security stuff... -if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) -{ +if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php"; require($INC); } // Add description as navigation point -ADD_DESCR("guest", basename(__FILE__)); +ADD_DESCR("guest", __FILE__); $MODE = ""; if (!empty($_GET['mode']))