X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fwelcome.php;h=ce50f5bcc72ec40c6caf395da1854ccdb4d905ff;hp=d59a536d71a066ed296e10f71608660d62d84129;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=75ad748a68473ace540251427a74fb781b1145e9 diff --git a/inc/modules/welcome.php b/inc/modules/welcome.php index d59a536d71..ce50f5bcc7 100644 --- a/inc/modules/welcome.php +++ b/inc/modules/welcome.php @@ -32,8 +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); }