X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=errors.php;h=d9185307a7bb8430b352b81bb35617141402c4b4;hb=e2b8c9273e09091c235959c25d8e4d8122aa6ca8;hp=8f4fd94fa86eecb2da0926c7cd3dc117267a8a8e;hpb=88e8fb3a7132d1321ab65b66a19a67df890c402d;p=tt-rss.git diff --git a/errors.php b/errors.php index 8f4fd94f..d9185307 100644 --- a/errors.php +++ b/errors.php @@ -12,7 +12,7 @@ $ERRORS[2] = __("This program requires cookies " . "to function properly. Your browser doesn't seem to support them."); - $ERRORS[3] = __("Backend sanity check failed"); + $ERRORS[3] = __("Backend sanity check failed."); $ERRORS[4] = __("Frontend sanity check failed."); @@ -28,15 +28,18 @@ $ERRORS[9] = __("Configuration check failed"); - $ERRORS[10] = __("Your version of MySQL is not currently supported. Please see - official site for more information."); + $ERRORS[10] = __("Your version of MySQL is not currently supported. Please see official site for more information."); $ERRORS[11] = "[This error is not returned by server]"; $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";