X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=errors.php;h=d9185307a7bb8430b352b81bb35617141402c4b4;hb=e2b8c9273e09091c235959c25d8e4d8122aa6ca8;hp=405da09ccabdb453bb9b5edeaf9d23e815f1228e;hpb=8850646ff375f8858442900dac790c5e38e86f88;p=tt-rss.git diff --git a/errors.php b/errors.php index 405da09c..d9185307 100644 --- a/errors.php +++ b/errors.php @@ -34,8 +34,12 @@ $ERRORS[12] = __("SQL escaping test failed, check your database and PHP configuration"); + $ERRORS[13] = __("Method not found"); + + $ERRORS[14] = __("Plugin not found"); + if ($_REQUEST['mode'] == 'js') { - header("Content-Type: text/plain; charset=UTF-8"); + header("Content-Type: text/javascript; charset=UTF-8"); print "var ERRORS = [];\n";