diff options
author | Andrew Dolgov <[email protected]> | 2012-12-25 10:02:08 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-25 10:02:08 +0400 |
commit | d2a421e3cbaa782748840fc19afad4ac65f044b8 (patch) | |
tree | fed3583a4f855c5c0c7c7a9d6c3f8effc94932d6 /plugins/example_routing | |
parent | de612e7a3850d3053c7038e94098c0681d46983b (diff) |
more work on user-selectable plugins; properly process system and user plugins
Diffstat (limited to 'plugins/example_routing')
-rw-r--r-- | plugins/example_routing/example_routing.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/example_routing/example_routing.php b/plugins/example_routing/example_routing.php index f15951e08..31c5b6f28 100644 --- a/plugins/example_routing/example_routing.php +++ b/plugins/example_routing/example_routing.php @@ -15,14 +15,14 @@ class Example_Routing extends Plugin implements IHandler { private $link; private $host; - function _about() { + function about() { return array(1.0, "Example routing plugin", "fox", true); } - function __construct($host) { + function init($host) { $this->link = $host->get_link(); $this->host = $host; |