diff options
Diffstat (limited to 'core/hooks/init_gallery.php')
-rw-r--r-- | core/hooks/init_gallery.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/hooks/init_gallery.php b/core/hooks/init_gallery.php index 89f97ef9..014c29ea 100644 --- a/core/hooks/init_gallery.php +++ b/core/hooks/init_gallery.php @@ -21,6 +21,7 @@ Event::add("system.ready", array("I18n", "instance")); Event::add("system.post_routing", array("theme", "load_themes")); Event::add("system.ready", array("module", "load_modules")); Event::add("system.post_routing", array("url", "parse_url")); +Event::add("system.shutdown", array("module", "shutdown")); // Override the cookie if we have a session id in the URL. // @todo This should probably be an event callback |