X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Floader.php;h=6d5b5a37d203f859e5ac556ec0870dc2cd4c9e19;hb=ee71bda9cc7d75f090ae2e1a2d05d4903523e112;hp=c8c62dd35373784fad8d46b2215ef99ca93951ba;hpb=a05706f3f5f5e6ae26c2114d2fd3ede01d5fe093;p=mailer.git diff --git a/inc/modules/loader.php b/inc/modules/loader.php index c8c62dd353..6d5b5a37d2 100644 --- a/inc/modules/loader.php +++ b/inc/modules/loader.php @@ -32,14 +32,14 @@ ************************************************************************/ // 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); } -if (!empty($_GET['url'])) { +if (REQUEST_ISSET_GET(('url'))) { // Decode URL - $url = COMPILE_CODE(@gzuncompress(base64_decode(urldecode($_GET['url'])))); + $url = decodeString(str_replace(" ", "+", compileUriCode(urldecode(REQUEST_GET('url'))))); // Validate the URL if (VALIDATE_URL($url)) {