X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=js.php;h=b1d8ce6118892617ef9b17b886db5b32fd55c183;hb=8a6e423d71bdd68443026b4fe7466f7164625c87;hp=3ddaf80a471ad83b3b40f6235b382a345101649c;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/js.php b/js.php index 3ddaf80a47..b1d8ce6118 100644 --- a/js.php +++ b/js.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 * @@ -55,17 +56,17 @@ $GLOBALS['module'] = 'js'; // Load the required file(s) require('inc/config-global.php'); -// Is 'js' is provied? -if (isGetRequestElementSet('js')) { - // Set header - setContentType('text/javascript'); +// Set header +setContentType('text/javascript'); +// Is 'js' is provied? +if (isGetRequestParameterSet('js')) { // Load header loadIncludeOnce('inc/header.php'); // Prepare include file for looking $inc = sprintf("inc/js/js-%s.php", - getRequestElement('js') + getRequestParameter('js') ); // Is that file readable?