X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fwernis_functions.php;h=4e05960e9af52a083d2c9395b37b0d5e1ff1c6a5;hp=64bcddf27d284f15687bb42d2a99244ffe571327;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=89edd713e330fd16e8da1edeadfd5046296ff0d2 diff --git a/inc/libs/wernis_functions.php b/inc/libs/wernis_functions.php index 64bcddf27d..4e05960e9a 100644 --- a/inc/libs/wernis_functions.php +++ b/inc/libs/wernis_functions.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); }