removed old code that will never be executed

This commit is contained in:
Michael Save 2012-02-14 20:24:20 +11:00
parent b891a3f230
commit 652429a23e
2 changed files with 6 additions and 8 deletions

View File

@ -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

View File

@ -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
));
}
};