Security line in all includes changed
[mailer.git] / inc / modules / admin / what-list_surfbar_urls.php
index 2bf0cf53b3ce17ada976966fcd30d6440105de52..67a6ce9797d07eaa78ec9632317bcdd3370dad54 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);
 } // END - if