]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rewrite_functions.php
Security line in all includes changed
[mailer.git] / inc / libs / rewrite_functions.php
index 22e14f9b07aadc8b27b5c7b412428c858f723dc7..13f9a3b48691528698b81342cea670b074b08462 100644 (file)
@@ -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);
 }