summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/I18n.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-28 07:15:00 +0800
committerGallery Role Account <gallery@menalto.com>2009-05-28 11:07:09 +0800
commit4eedf804e1f26d95de6803e48c608d893c53b7d0 (patch)
tree6bd8b55bca9568d2abc65a63bd17bcfe928e7285 /modules/gallery/libraries/I18n.php
parent3413fe6bfd423d45d083ff4ed62c0f72c2cc272f (diff)
Update all references to the core application to now point to the
gallery module. This type of mass update is prone to some small bugs. Signed-off-by: Gallery Role Account <gallery@menalto.com>
Diffstat (limited to 'modules/gallery/libraries/I18n.php')
-rw-r--r--modules/gallery/libraries/I18n.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/I18n.php b/modules/gallery/libraries/I18n.php
index c936be88..f2801169 100644
--- a/modules/gallery/libraries/I18n.php
+++ b/modules/gallery/libraries/I18n.php
@@ -62,7 +62,7 @@ class I18n_Core {
if (self::$_instance == NULL || isset($config)) {
$config = isset($config) ? $config : Kohana::config('locale');
if (empty($config['default_locale'])) {
- $config['default_locale'] = module::get_var('core', 'default_locale');
+ $config['default_locale'] = module::get_var('gallery', 'default_locale');
}
self::$_instance = new I18n_Core($config);
}