diff options
author | jhilden <jakobhilden@gmail.com> | 2009-09-26 11:27:45 -0400 |
---|---|---|
committer | jhilden <jakobhilden@gmail.com> | 2009-09-26 11:27:45 -0400 |
commit | 21341d552f7e56341b29c020e1149d9c41182c84 (patch) | |
tree | 70502de8e6784d749b47b445838d8719f21af6bf /modules/gallery/hooks | |
parent | 4345e96d1db63c8488eb7a35cdc8e42987ba53f5 (diff) | |
parent | 0abd6f63bc8a1976a62bc4b57bbabe10d62b5c8d (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/hooks')
-rw-r--r-- | modules/gallery/hooks/init_gallery.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/hooks/init_gallery.php b/modules/gallery/hooks/init_gallery.php index 5735e7dc..da7eeb0f 100644 --- a/modules/gallery/hooks/init_gallery.php +++ b/modules/gallery/hooks/init_gallery.php @@ -32,6 +32,9 @@ Event::add("system.post_routing", array("url", "parse_url")); Event::add("system.post_routing", array("gallery", "maintenance_mode")); Event::add("system.shutdown", array("gallery", "shutdown")); +// @todo once we convert to Kohana 2.4 this doesn't have to be here +set_error_handler(array("gallery_error", "error_handler")); + // Override the cookie if we have a session id in the URL. // @todo This should probably be an event callback $input = Input::instance(); |