summaryrefslogtreecommitdiff
path: root/errors.php
diff options
context:
space:
mode:
authorPerry Werneck <[email protected]>2013-05-31 17:37:12 -0300
committerPerry Werneck <[email protected]>2013-05-31 17:37:12 -0300
commitbcb6b0c1268a1d921a4a184d18a2775df1dfce35 (patch)
tree3721d625eb1893ff22e3229e9b5006a368fa2b16 /errors.php
parent67f4fe178099de9744d208ed818f9b6728239f33 (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.
Diffstat (limited to 'errors.php')
-rw-r--r--errors.php2
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";