X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=errors.php;h=f7333fd1af0098c4fba6bf1128e30fbfa9ad1990;hb=3e0f2090bfe90756b6a0a8f803ec5c407b50c41e;hp=405da09ccabdb453bb9b5edeaf9d23e815f1228e;hpb=52af297e745f5b5c101c642c45e08d268aa324d8;p=tt-rss.git diff --git a/errors.php b/errors.php index 405da09c..f7333fd1 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";