]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_sponsor.php
Security line in all includes changed
[mailer.git] / inc / modules / admin / what-config_sponsor.php
index 70a64890fc21991bbee5d764ab2698ea1794f54d..59dd718f32ccd7cf20ce1583859cb40be84d2d53 100644 (file)
@@ -31,7 +31,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);
 }