]> git.mxchange.org Git - mailer.git/blobdiff - theme/business/theme.php
Security line in all includes changed
[mailer.git] / theme / business / theme.php
index 239bc167b69857b3491cf11d095f003ea3a8ee1e..158fe831b573c8caa7778b82f0522ca81edf9d40 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);
 }