diff options
-rw-r--r-- | app/Subscriber/BootstrapSubscriber.php | 1 | ||||
-rwxr-xr-x | kanboard | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/Subscriber/BootstrapSubscriber.php b/app/Subscriber/BootstrapSubscriber.php index e256159a..35d0eff9 100644 --- a/app/Subscriber/BootstrapSubscriber.php +++ b/app/Subscriber/BootstrapSubscriber.php @@ -11,6 +11,7 @@ class BootstrapSubscriber extends Base implements EventSubscriberInterface return array( 'session.bootstrap' => array('setup', 0), 'api.bootstrap' => array('setup', 0), + 'console.bootstrap' => array('setup', 0), ); } @@ -4,6 +4,9 @@ require __DIR__.'/app/common.php'; use Symfony\Component\Console\Application; +use Symfony\Component\EventDispatcher\Event; + +$container['dispatcher']->dispatch('console.bootstrap', new Event); $application = new Application('Kanboard', APP_VERSION); $application->add(new Console\TaskOverdueNotification($container)); |