diff options
author | Andrew Dolgov <[email protected]> | 2015-03-30 13:02:24 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-03-30 13:02:24 +0300 |
commit | 27f7b59353a076120407d8873ea86f5eea7d1dcf (patch) | |
tree | 0c9c3b0a7b705dc09855a6f308303427077590f9 /errors.php | |
parent | f75e7c64460b8337ecc769fb956cbe8a08b351e4 (diff) |
add a wrapper for standard error codes returned by backend, also add explanation to the error object if possible
Diffstat (limited to 'errors.php')
-rw-r--r-- | errors.php | 4 |
1 files changed, 4 insertions, 0 deletions
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"); |