X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-agb.php;h=e802710b7df86c1a4414a3095320db6d426a2f6c;hb=c809d01655c73f8dbd2042ab917d8527ceec4a92;hp=abe4c547b4be86340bf06c9cf53dc9d299f576dc;hpb=6ccd99da05d2a9ea302b4c904bbdb2320724d42d;p=mailer.git diff --git a/inc/modules/guest/what-agb.php b/inc/modules/guest/what-agb.php index abe4c547b4..e802710b7d 100644 --- a/inc/modules/guest/what-agb.php +++ b/inc/modules/guest/what-agb.php @@ -32,7 +32,7 @@ ************************************************************************/ // 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); }