From bcb6b0c1268a1d921a4a184d18a2775df1dfce35 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Fri, 31 May 2013 17:37:12 -0300 Subject: [PATCH] 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. --- errors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";