]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/order_functions.php
Cache class rewritten to better convention
[mailer.git] / inc / libs / order_functions.php
index 92e10a574e3cfb7f1629919dbdb1e21fbb9a4a89..50cde4274d895000a27798b39e035039b744c8c4 100644 (file)
@@ -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);
 }