X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=js.php;h=b12d5270ed4816cb59f2d1816834544625cbe672;hp=6cdea2a1c6545d812b82de7e244fb7e6ddb00605;hb=9dea40187dc40c8e2b642dccae039c681cbc43f9;hpb=57227d33e870ec5cd271209c4a978a52b45c2dd6 diff --git a/js.php b/js.php index 6cdea2a1c6..b12d5270ed 100644 --- a/js.php +++ b/js.php @@ -55,11 +55,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');