X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-wernis_portal.php;h=5c82e8d187af1c96ea7ae85479e5111d14d7a22a;hp=7a5df0860e8a4f84ddc36daeb0a966a620d3a72b;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=daefa5dc8ffd7773e0c2556a5dcf33fa52196180 diff --git a/inc/modules/guest/what-wernis_portal.php b/inc/modules/guest/what-wernis_portal.php index 7a5df0860e..5c82e8d187 100644 --- a/inc/modules/guest/what-wernis_portal.php +++ b/inc/modules/guest/what-wernis_portal.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); } @@ -47,8 +46,9 @@ ADD_DESCR("guest", basename(__FILE__)); OUTPUT_HTML("