mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 02:51:29 +00:00
Merge pull request #216 from PerryWerneck/master
Changing mimetype reported by errors.php?mode=js to avoi proxy problems.
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
$ERRORS[12] = __("SQL escaping test failed, check your database and PHP configuration");
|
$ERRORS[12] = __("SQL escaping test failed, check your database and PHP configuration");
|
||||||
|
|
||||||
if ($_REQUEST['mode'] == 'js') {
|
if ($_REQUEST['mode'] == 'js') {
|
||||||
header("Content-Type: text/plain; charset=UTF-8");
|
header("Content-Type: text/javascript; charset=UTF-8");
|
||||||
|
|
||||||
print "var ERRORS = [];\n";
|
print "var ERRORS = [];\n";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user