X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fload_cache.php;h=fad1bdde22d6912a7c3740fb78e8984210b66e9b;hb=08e7a259eb3649641a680bde64854f54cd5c5b68;hp=c63d92561a069fac0e85fe2b887825b2d192e7e3;hpb=00c41ee95139ba90f2ed355da6503f03fb9096a3;p=mailer.git diff --git a/inc/load_cache.php b/inc/load_cache.php index c63d92561a..fad1bdde22 100644 --- a/inc/load_cache.php +++ b/inc/load_cache.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); } @@ -46,5 +46,8 @@ foreach ($INC_POOL as $fqfn) { require_once($fqfn); } // END - foreach +// Remove array +unset($INC_POOL); + // ?>