]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-
Security line in all includes changed
[mailer.git] / inc / modules / admin / what-
index f02615ef8435c52725a7ca629d3a1798d677c2c0..fb5dca692c0d13525edb0688727136b6a477fc5f 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin())) {
+if ((!defined('__SECURITY')) || (!is_admin())) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 }