X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-infos.php;h=ae5be500264769c324b3229c389b65237e1c627b;hp=c3ff0997005be8d89a35a6af5c4dd047f8861366;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=6032b7018b83778f1592383238f4e0d28f718622 diff --git a/inc/modules/guest/what-infos.php b/inc/modules/guest/what-infos.php index c3ff099700..ae5be50026 100644 --- a/inc/modules/guest/what-infos.php +++ b/inc/modules/guest/what-infos.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); }