]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-wernis.php
Fixed a comparison problem like string1 < string2
[mailer.git] / inc / modules / member / what-wernis.php
index 3c48c8640b0b801c5d2f3a27ff845cc563e9573c..a2d9e43ed464e888102deee4e8cc6fa335c60059 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);
 } elseif (!IS_MEMBER()) {