diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-12-27 21:11:11 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-12-27 21:11:11 -0500 |
commit | 88d84073aecbe8bdc5f10825b6d7ca6b81c5f7b1 (patch) | |
tree | e823c8e13e9ffba115c8e1f5a05a514cac5322df /app/Controller | |
parent | 0a14c8d5e5538e487dd6b012771f72aea6f4d5a6 (diff) |
Add more subscribers
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Base.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/Base.php b/app/Controller/Base.php index 8330f6d5..19eb7f12 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -9,6 +9,7 @@ use Core\Response; use Core\Template; use Core\Session; use Model\LastLogin; +use Symfony\Component\EventDispatcher\Event; /** * Base controller @@ -140,6 +141,7 @@ abstract class Base { // Start the session $this->session->open(BASE_URL_DIRECTORY); + $this->container['dispatcher']->dispatch('session.bootstrap', new Event); // HTTP secure headers $this->response->csp(array('style-src' => "'self' 'unsafe-inline'")); |