From c2d30b3119771da28229518557399a9f2a072ff4 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Wed, 15 Jun 2011 21:46:48 +0100 Subject: [PATCH] Bug fix: refactor homepage for Main class introduction --- source/pages/home.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/pages/home.php b/source/pages/home.php index 003b4f8..5262cc4 100644 --- a/source/pages/home.php +++ b/source/pages/home.php @@ -1,6 +1,9 @@ config(); +$main = MediaListing_Main::instance(); +$config = $main->config(); +$smarty = $main->smarty(); + $source_paths = $config->get('sources'); $sources = array();