X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-welcome.php;h=ce5e843fad2dd867308fb545c8adba4bb86365c4;hb=7a6515f7a4a512a6b1922b68aa4f211daad997cd;hp=c5d75511ddbdfd266d30fdbd416af84ccec5d021;hpb=41e2891fb998d13b22b8d7984358f258cc85267d;p=mailer.git diff --git a/inc/modules/member/what-welcome.php b/inc/modules/member/what-welcome.php index c5d75511dd..ce5e843fad 100644 --- a/inc/modules/member/what-welcome.php +++ b/inc/modules/member/what-welcome.php @@ -32,13 +32,10 @@ ************************************************************************/ // 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"); }