X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=theme%2Fbusiness%2Ftheme.php;h=158fe831b573c8caa7778b82f0522ca81edf9d40;hb=b73c135350d7ed266c0cac680105707139bd892d;hp=239bc167b69857b3491cf11d095f003ea3a8ee1e;hpb=d0ab0382dd73638f0bc13a1a3d6f117ec11a203e;p=mailer.git diff --git a/theme/business/theme.php b/theme/business/theme.php index 239bc167b6..158fe831b5 100644 --- a/theme/business/theme.php +++ b/theme/business/theme.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); }