diff options
author | Perry Werneck <[email protected]> | 2013-05-31 17:37:12 -0300 |
---|---|---|
committer | Perry Werneck <[email protected]> | 2013-05-31 17:37:12 -0300 |
commit | bcb6b0c1268a1d921a4a184d18a2775df1dfce35 (patch) | |
tree | 3721d625eb1893ff22e3229e9b5006a368fa2b16 | |
parent | 67f4fe178099de9744d208ed818f9b6728239f33 (diff) |
Changing error.php?mode=js from text/plain to text/javascript
Changing the js mimetype to text/javascript to avoid problems with some proxy configurations.
-rw-r--r-- | errors.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/errors.php b/errors.php index 405da09cc..f7333fd1a 100644 --- a/errors.php +++ b/errors.php @@ -35,7 +35,7 @@ $ERRORS[12] = __("SQL escaping test failed, check your database and PHP configuration"); if ($_REQUEST['mode'] == 'js') { - header("Content-Type: text/plain; charset=UTF-8"); + header("Content-Type: text/javascript; charset=UTF-8"); print "var ERRORS = [];\n"; |