summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-23 14:52:18 +0400
committerAndrew Dolgov <[email protected]>2012-12-23 14:52:18 +0400
commit19c7350770788edf3ae0bb1fd6d95876667adbf6 (patch)
treee539d53acd796375d7feba1efd66d3850fd14db1 /backend.php
parent83e6e313be6de7d6e3f155a13c821ab82da12575 (diff)
experimental new plugin system
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index 511bb3552..8aaf10016 100644
--- a/backend.php
+++ b/backend.php
@@ -126,6 +126,10 @@
if ($handler->before($method)) {
if ($method && method_exists($handler, $method)) {
$handler->$method();
+ } else {
+ if (method_exists($handler, "catchall")) {
+ $handler->catchall($method);
+ }
}
$handler->after();
return;