summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/theme.php')
-rw-r--r--modules/gallery/helpers/theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/theme.php b/modules/gallery/helpers/theme.php
index 16ed104e..c7a9b49a 100644
--- a/modules/gallery/helpers/theme.php
+++ b/modules/gallery/helpers/theme.php
@@ -43,7 +43,7 @@ class theme_Core {
}
$modules = Kohana::config("core.modules");
array_unshift($modules, THEMEPATH . $theme_name);
- Kohana::config_set("core.modules", $modules);
+ Kohana_Config::instance()->set("core.modules", $modules);
}
static function get_edit_form_admin() {