summaryrefslogtreecommitdiff
path: root/modules/gallery/hooks/init_gallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/hooks/init_gallery.php')
-rw-r--r--modules/gallery/hooks/init_gallery.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/hooks/init_gallery.php b/modules/gallery/hooks/init_gallery.php
index 64e44b56..10a74733 100644
--- a/modules/gallery/hooks/init_gallery.php
+++ b/modules/gallery/hooks/init_gallery.php
@@ -38,6 +38,7 @@ Event::add("system.ready", array("module", "load_modules"));
Event::add("system.ready", array("gallery", "ready"));
Event::add("system.post_routing", array("url", "parse_url"));
Event::add("system.post_routing", array("gallery", "maintenance_mode"));
+Event::add("system.post_routing", array("gallery", "private_gallery"));
Event::add("system.shutdown", array("gallery", "shutdown"));
// @todo once we convert to Kohana 2.4 this doesn't have to be here