diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-23 07:04:59 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-23 07:04:59 -0700 |
| commit | a24d9d67a6d6ee0b976068880476e69b432b1406 (patch) | |
| tree | 4ec404fcb21117bfce0c54a96fc32422d79183fc /modules/gallery/hooks/init_gallery.php | |
| parent | 05275e2c07549ae9c40e647154fa442d796918b8 (diff) | |
| parent | 7f066b34c9d965814c0a07a8f71e016edeb383d2 (diff) | |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/hooks/init_gallery.php')
| -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(); |
