X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-online.php;h=92e91571e64d0023b1af78eb30b5c4d3a4db468c;hb=23f39916099dad094d2d2b0fe54d335bddc986db;hp=b08ea40e9469bf5979cf174b9dc1c5dc1e12cdbb;hpb=82d53dfb7f59fa1e37bd500e3db3d10a9d4a78da;p=mailer.git diff --git a/inc/extensions/ext-online.php b/inc/extensions/ext-online.php index b08ea40e94..92e91571e6 100644 --- a/inc/extensions/ext-online.php +++ b/inc/extensions/ext-online.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); }