X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=js.php;h=b1d8ce6118892617ef9b17b886db5b32fd55c183;hp=6cdea2a1c6545d812b82de7e244fb7e6ddb00605;hb=9b8d0c1de007c1149af813c07773c3536c71ddd5;hpb=57227d33e870ec5cd271209c4a978a52b45c2dd6 diff --git a/js.php b/js.php index 6cdea2a1c6..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,11 +56,11 @@ $GLOBALS['module'] = 'js'; // Load the required file(s) require('inc/config-global.php'); +// Set header +setContentType('text/javascript'); + // Is 'js' is provied? if (isGetRequestParameterSet('js')) { - // Set header - setContentType('text/javascript'); - // Load header loadIncludeOnce('inc/header.php');