X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fstats_bonus.php;h=2ad4a0cf4d016827cfbcd4c49b119ef0335d4707;hp=a064faedeac557ea7aad41c135bafef0d720a385;hb=7f104f6fe558bb56b4205241435a2357c2feece1;hpb=fe4e98d8332bf21b9bee633ecbf79687cfd11f80 diff --git a/inc/stats_bonus.php b/inc/stats_bonus.php index a064faedea..2ad4a0cf4d 100644 --- a/inc/stats_bonus.php +++ b/inc/stats_bonus.php @@ -32,7 +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);