X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Floader.php;h=121cbc9169135f2ea3b8a667347036c6919f790f;hb=b8d805411e7b2fd6292c7de47c977da72edc4366;hp=6224e80ba471195dd3f2cdc5a73bc716c240227e;hpb=e5fe5afb17a5c8106f4c890234dfa39419e70f5d;p=mailer.git diff --git a/inc/modules/loader.php b/inc/modules/loader.php index 6224e80ba4..121cbc9169 100644 --- a/inc/modules/loader.php +++ b/inc/modules/loader.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -42,9 +43,9 @@ if (!defined('__SECURITY')) { } // END - if // Is an URL specified? -if (isGetRequestElementSet('url')) { +if (isGetRequestParameterSet('url')) { // Decode URL - $url = decodeString(str_replace(' ', '+', compileUriCode(urldecode(getRequestElement('url'))))); + $url = decodeString(str_replace(' ', '+', compileUriCode(urldecode(getRequestParameter('url'))))); // Validate the URL if (isUrlValid($url)) { @@ -52,11 +53,11 @@ if (isGetRequestElementSet('url')) { loadTemplate('loader', false, $url); } else { // URL invalid - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } } else { // Invalid or no URL entered! - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } // [EOF]