]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-guest.php
Fixed a comparison problem like string1 < string2
[mailer.git] / inc / modules / member / what-guest.php
index 7d77e2d4baaaff108223699ba96662421e187c43..e6876490bca5dd1ac5f3cf1fe9a9e88c5d18de93 100644 (file)
  ************************************************************************/
 
 // 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())
-{
+} elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
 }