1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 07:50:23 +01:00

removed old code that will never be executed

This commit is contained in:
Michael Save 2012-02-14 20:24:20 +11:00
parent 9e42ca2cfc
commit 8f17e12db2
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
));
}
};