summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/config.php2
-rw-r--r--templates/themes/basic/theme.php12
2 files changed, 6 insertions, 8 deletions
diff --git a/inc/config.php b/inc/config.php
index ce7be4ad..7976634e 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -649,7 +649,7 @@
$config['dir']['themes'] = getcwd() . '/templates/themes';
// Same as above, but a URI (accessable by web interface, not locally)
$config['dir']['themes_uri'] = 'templates/themes';
- // Homepage directory
+ // Homepage directory (deprecated)
$config['dir']['home'] = '';
// Static images
diff --git a/templates/themes/basic/theme.php b/templates/themes/basic/theme.php
index 603176cb..a07dc7ec 100644
--- a/templates/themes/basic/theme.php
+++ b/templates/themes/basic/theme.php
@@ -29,13 +29,11 @@
$news = $query->fetchAll(PDO::FETCH_ASSOC);
return Element('themes/basic/index.html', Array(
- 'settings' => $settings,
- 'config' => $config,
- 'boardlist' => createBoardlist(),
- 'news' => $news
- ));
-
- return $body;
+ 'settings' => $settings,
+ 'config' => $config,
+ 'boardlist' => createBoardlist(),
+ 'news' => $news
+ ));
}
};