X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fload_cache.php;h=fad1bdde22d6912a7c3740fb78e8984210b66e9b;hp=c63d92561a069fac0e85fe2b887825b2d192e7e3;hb=6586600d8020147192e5f28ca2a3a0153f774d3c;hpb=3e64a94e122e30dd66db07fd8c8cfae05871c460 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); + // ?>