diff options
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-x | classes/handler/public.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 06c01df57..05a84494b 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -1216,14 +1216,17 @@ class Handler_Public extends Handler { if ($pclass->is_public_method($method)) { $pclass->$method(); } else { + user_error("pluginhandler: Requested private method '$method' of plugin '$plugin'."); header("Content-Type: text/json"); print error_json(6); } } else { + user_error("pluginhandler: Requested unknown method '$method' of plugin '$plugin'."); header("Content-Type: text/json"); print error_json(13); } } else { + user_error("pluginhandler: Requested method '$method' of unknown plugin '$plugin'."); header("Content-Type: text/json"); print error_json(14); } |