Added event support for RouteHandler
authorAlexander Ebert <ebert@woltlab.com>
Wed, 12 Oct 2011 11:50:49 +0000 (13:50 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 12 Oct 2011 11:50:49 +0000 (13:50 +0200)
wcfsetup/install/files/lib/system/request/RouteHandler.class.php

index 0d23509144c6fb9c88299cdd8d62643461c9638d..f1ffa1e62bc757ee76ca9d061933ddf91e026379 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace wcf\system\request;
+use wcf\system\event\EventHandler;
 use wcf\system\SingletonFactory;
 
 /**
@@ -39,6 +40,9 @@ class RouteHandler extends SingletonFactory {
         */
        protected function init() {
                $this->addDefaultRoutes();
+               
+               // fire event
+               EventHandler::getInstance()->fireAction($this, 'didInit');
        }
        
        /**