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