From acf28e47cb7336b3f6878fb0df9d1a5c1dacd489 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 3 Mar 2009 18:57:16 +0000 Subject: Create a proxy event (gallery_event) which is called when the request is completing. --- core/hooks/init_gallery.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/hooks') 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 -- cgit v1.2.3