X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-add_bank_package.php;h=c24efeb2cc8b395ab7ccd19e250b43e4b6ed2b1f;hp=87815ff5e270d15c050a99fa1f2f4a9c4d9c9bc7;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=89edd713e330fd16e8da1edeadfd5046296ff0d2 diff --git a/inc/modules/admin/what-add_bank_package.php b/inc/modules/admin/what-add_bank_package.php index 87815ff5e2..c24efeb2cc 100644 --- a/inc/modules/admin/what-add_bank_package.php +++ b/inc/modules/admin/what-add_bank_package.php @@ -32,7 +32,7 @@ ************************************************************************/ // Some security stuff... -if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin())) { +if ((!defined('__SECURITY')) || (!is_admin())) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); }