]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-updates.php
Surfbar continued (unfinished) and some updates:
[mailer.git] / inc / modules / admin / what-updates.php
index 4bf1d60f1df4903b748f9c836c1102f35871d99e..e6fd292ee9039ee4bde973f18e74c8577a9d404d 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);
 }