From 27f7b59353a076120407d8873ea86f5eea7d1dcf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 30 Mar 2015 13:02:24 +0300 Subject: add a wrapper for standard error codes returned by backend, also add explanation to the error object if possible --- errors.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'errors.php') diff --git a/errors.php b/errors.php index f7333fd1a..d9185307a 100644 --- a/errors.php +++ b/errors.php @@ -34,6 +34,10 @@ $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/javascript; charset=UTF-8"); -- cgit v1.2.3-54-g00ecf