X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-;h=4b23438fb26114cdcfedee81b69d277624116b0d;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hp=ebada9309541a13f26c609c1ca226fc23969150f;hpb=b91d882dbd9bb78ee175a108b5ee0dfcd29d5bbc;p=mailer.git diff --git a/inc/extensions/ext- b/inc/extensions/ext- index ebada93095..4b23438fb2 100644 --- a/inc/extensions/ext- +++ b/inc/extensions/ext- @@ -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); }