X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Floader.php;h=ae9528261f12f96ecc2c8a9c7d8f1760b6ffa2f7;hb=3c1445d229281a0c3e13e9d823236a95ef6ff2db;hp=3cb4076516f3c481d551f52d52a0606bc5426d75;hpb=0fe94791af05018868398d3c6c87d2b16f9557a2;p=mailer.git diff --git a/inc/modules/loader.php b/inc/modules/loader.php index 3cb4076516..ae9528261f 100644 --- a/inc/modules/loader.php +++ b/inc/modules/loader.php @@ -14,11 +14,10 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -42,9 +41,9 @@ if (!defined('__SECURITY')) { } // END - if // Is an URL specified? -if (isGetRequestParameterSet('url')) { +if (isGetRequestElementSet('url')) { // Decode URL - $url = decodeString(str_replace(' ', '+', compileUriCode(urldecode(getRequestParameter('url'))))); + $url = decodeString(str_replace(' ', '+', compileUriCode(urldecode(getRequestElement('url'))))); // Validate the URL if (isUrlValid($url)) { @@ -52,11 +51,11 @@ if (isGetRequestParameterSet('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]