diff options
-rw-r--r-- | core/helpers/theme.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/theme.php b/core/helpers/theme.php index 322468d5..596bfa2a 100644 --- a/core/helpers/theme.php +++ b/core/helpers/theme.php @@ -31,9 +31,9 @@ class theme_Core { static function load_themes() { $modules = Kohana::config("core.modules"); if (Router::$controller == "admin") { - array_unshift($modules, THEMEPATH . "admin_default"); + array_unshift($modules, THEMEPATH . module::get_var("core", "active_admin_theme")); } else { - array_unshift($modules, THEMEPATH . "default"); + array_unshift($modules, THEMEPATH . module::get_var("core", "active_site_theme")); } Kohana::config_set("core.modules", $modules); } |