X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-;h=11943809dd953766078ae877a00b5bcfae3b76e0;hp=2c6d438a15e02441c96ec9c7657bfffa226f69e7;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=4ef4c88fc481335dc0631b223111c15a84cccb51 diff --git a/inc/modules/guest/action- b/inc/modules/guest/action- index 2c6d438a15..11943809dd 100644 --- a/inc/modules/guest/action- +++ b/inc/modules/guest/action- @@ -32,8 +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); }