]> git.mxchange.org Git - mailer.git/blobdiff - js.php
Some language strings fixed, renamed. Copyright notice updated
[mailer.git] / js.php
diff --git a/js.php b/js.php
index b1d8ce6118892617ef9b17b886db5b32fd55c183..44477e69e2a683b55e50762a7c76bfbb5f3a647a 100644 (file)
--- a/js.php
+++ b/js.php
  * $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                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -56,8 +54,9 @@ $GLOBALS['module'] = 'js';
 // Load the required file(s)
 require('inc/config-global.php');
 
-// Set header
+// Set header and HTTP status
 setContentType('text/javascript');
+setHttpStatus('404 NOT FOUND');
 
 // Is 'js' is provied?
 if (isGetRequestParameterSet('js')) {
@@ -71,6 +70,9 @@ if (isGetRequestParameterSet('js')) {
 
        // Is that file readable?
        if (isIncludeReadable($inc)) {
+               // Okay, found
+               setHttpStatus('200 OK');
+
                // Include it
                loadIncludeOnce($inc);
        } // END - if