diff options
Diffstat (limited to 'core/controllers/albums.php')
-rw-r--r-- | core/controllers/albums.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/controllers/albums.php b/core/controllers/albums.php index 1977003b..48cbe410 100644 --- a/core/controllers/albums.php +++ b/core/controllers/albums.php @@ -27,9 +27,8 @@ class Albums_Controller extends Items_Controller { return Kohana::show_404(); } - // @todo: these need to be pulled from the database - $theme_name = "default"; - $page_size = 9; + $theme_name = module::get_var("core", "active_theme", "default"); + $page_size = module::set_var("core", "page_size", 9); $template = new Theme_View("page.html", "album", $theme_name); |