X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fchk_login.php;h=d8d36986d46c1a7372bbefe9f0023f533d39c3c2;hp=88bc2e0bb69cd0dbd78320e508e7ffcefe1d0aa6;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=89edd713e330fd16e8da1edeadfd5046296ff0d2 diff --git a/inc/modules/chk_login.php b/inc/modules/chk_login.php index 88bc2e0bb6..d8d36986d4 100644 --- a/inc/modules/chk_login.php +++ b/inc/modules/chk_login.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); }