diff options
Diffstat (limited to 'core/controllers/photos.php')
-rw-r--r-- | core/controllers/photos.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/controllers/photos.php b/core/controllers/photos.php index c72fae12..5159d66f 100644 --- a/core/controllers/photos.php +++ b/core/controllers/photos.php @@ -27,8 +27,9 @@ class Photos_Controller extends Items_Controller { return Kohana::show_404(); } - // @todo: this needs to be data-driven - $template = new Theme_View("page.html", "photo", "default"); + $theme_name = module::get_var("core", "active_theme", "default"); + + $template = new Theme_View("page.html", "photo", $theme_name); $template->set_global('item', $item); $template->set_global('children', $item->children()); |