]> git.mxchange.org Git - mailer.git/blobdiff - js.php
Deprecated variables for templates removed, mor EL-rewrites, getMessage() rewritten:
[mailer.git] / js.php
diff --git a/js.php b/js.php
index 6cdea2a1c6545d812b82de7e244fb7e6ddb00605..b1d8ce6118892617ef9b17b886db5b32fd55c183 100644 (file)
--- 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');