From d9b82cfe4f3a4c063de9035e81b0c4fbf6caeedd Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 28 May 2011 01:43:04 +1000 Subject: allowed enabling multiple themes simultaneously --- templates/homepage/recent/theme.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/homepage/recent/theme.php b/templates/homepage/recent/theme.php index 8af0862d..764c4170 100644 --- a/templates/homepage/recent/theme.php +++ b/templates/homepage/recent/theme.php @@ -8,17 +8,17 @@ // - boards (board list changed) // - post (a post has been made) - $b = new Basic(); + $b = new RecentPosts(); $b->build($action, $settings); } // Wrap functions in a class so they don't interfere with normal Tinyboard operations - class Basic { + class RecentPosts { public function build($action, $settings) { global $config, $_theme; if($action == 'all') { - copy($config['dir']['homepage'] . '/' . $_theme . '/recent.css', $config['dir']['home'] . 'recent.css'); + //copy($config['dir']['homepage'] . '/' . $_theme . '/recent.css', $config['dir']['home'] . 'recent.css'); } $this->excluded = explode(' ', $settings['exclude']); -- cgit v1.3