X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fwelcome.php;h=ce50f5bcc72ec40c6caf395da1854ccdb4d905ff;hb=0226aea588ae0b433e4c2c17b23f79885c2d0da5;hp=d59a536d71a066ed296e10f71608660d62d84129;hpb=d0ab0382dd73638f0bc13a1a3d6f117ec11a203e;p=mailer.git 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); }