diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-28 01:43:04 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-28 01:43:04 +1000 |
| commit | d9b82cfe4f3a4c063de9035e81b0c4fbf6caeedd (patch) | |
| tree | 76ad0782ad9756d18cf2139c33b93110d8236885 /templates/homepage/recent/theme.php | |
| parent | bb67062cd5bf9bf58e72f93799452a1a8a3fbe14 (diff) | |
allowed enabling multiple themes simultaneously
Diffstat (limited to 'templates/homepage/recent/theme.php')
| -rw-r--r-- | templates/homepage/recent/theme.php | 6 |
1 files changed, 3 insertions, 3 deletions
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']); |
