]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_wernis.php
Security line in all includes changed
[mailer.git] / inc / modules / admin / what-list_wernis.php
index 277c4581a00a2fcdb7e431353d0d832f879117df..ac0f53bc9a3421f78418ce9d3c73dc02206e46e5 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);
 }