X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fcountry_functions.php;h=6f31bb5102e47ac9cebdf17eb13c3a5c26b813b4;hb=e5ae148596850b078c6df0878d1527b40eee33ac;hp=be8658bd2a294e0cd28d7853fd3403c227f019dd;hpb=a1ef1533f17e1ca5db81a9912632491e72626694;p=mailer.git diff --git a/inc/libs/country_functions.php b/inc/libs/country_functions.php index be8658bd2a..6f31bb5102 100644 --- a/inc/libs/country_functions.php +++ b/inc/libs/country_functions.php @@ -32,11 +32,11 @@ ************************************************************************/ // 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); } + // function COUNTRY_GENERATE_INFO($ID) {