summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCiaranG <ciaran@ciarang.com>2009-03-04 15:34:04 +0000
committerCiaranG <ciaran@ciarang.com>2009-03-04 15:34:04 +0000
commita7efd4ff556bbf6bafcfc81db758ab192b8802ad (patch)
tree0ecc33e2f3f7d9b27a89bcf13897e5c71088e9ff /lib
parent115519a5e7e84e57656c653918efb39ab4107fe9 (diff)
Plugins - added a new event (RouterInitialized) which allows a plugin to register new paths to be routed
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 4b70c0150..d4a4d2ca9 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -393,6 +393,8 @@ class Router
array('action' => 'showstream'),
array('nickname' => '[a-zA-Z0-9]{1,64}'));
+ Event::handle('RouterInitialized', array($m));
+
return $m;
}