X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=errors.php;h=d9185307a7bb8430b352b81bb35617141402c4b4;hb=50052fb78a3a9d1bb3fa488e7fd7b23125c38124;hp=405da09ccabdb453bb9b5edeaf9d23e815f1228e;hpb=52af297e745f5b5c101c642c45e08d268aa324d8;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";