From 19c7350770788edf3ae0bb1fd6d95876667adbf6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 23 Dec 2012 14:52:18 +0400 Subject: experimental new plugin system --- backend.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend.php') 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; -- cgit v1.2.3