X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-country.php;h=33b40947d572e602d472731426019f91537d86dd;hp=10af68b4f74bccd1666a51d3571067703dd2adba;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=82d53dfb7f59fa1e37bd500e3db3d10a9d4a78da diff --git a/inc/extensions/ext-country.php b/inc/extensions/ext-country.php index 10af68b4f7..33b40947d5 100644 --- a/inc/extensions/ext-country.php +++ b/inc/extensions/ext-country.php @@ -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); }