summaryrefslogtreecommitdiff
path: root/modules/gallery/hooks/init_gallery.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-24 19:24:02 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-24 19:24:02 -0800
commit3ed7a5af46586f186a4627d8b029aec7c3ff579d (patch)
treef7dff8eaa04e0a5f3c9be45767a32a909ae41dd3 /modules/gallery/hooks/init_gallery.php
parent9b6663f87a7e679ffba691cf516191fc840cf978 (diff)
Rename I18n to Gallery_I18n to avoid conflict with Kohana 2.4
Diffstat (limited to 'modules/gallery/hooks/init_gallery.php')
-rw-r--r--modules/gallery/hooks/init_gallery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/hooks/init_gallery.php b/modules/gallery/hooks/init_gallery.php
index b2d9c4de..4ce9bab4 100644
--- a/modules/gallery/hooks/init_gallery.php
+++ b/modules/gallery/hooks/init_gallery.php
@@ -24,7 +24,7 @@ if (!file_exists(VARPATH . "database.php")) {
url::redirect(url::abs_file("installer"));
}
-Event::add("system.ready", array("I18n", "instance"));
+Event::add("system.ready", array("Gallery_I18n", "instance"));
Event::add("system.ready", array("module", "load_modules"));
Event::add("system.ready", array("gallery", "ready"));
Event::add("system.post_routing", array("url", "parse_url"));