removed old code that will never be executed
This commit is contained in:
parent
b891a3f230
commit
652429a23e
@ -649,7 +649,7 @@
|
|||||||
$config['dir']['themes'] = getcwd() . '/templates/themes';
|
$config['dir']['themes'] = getcwd() . '/templates/themes';
|
||||||
// Same as above, but a URI (accessable by web interface, not locally)
|
// Same as above, but a URI (accessable by web interface, not locally)
|
||||||
$config['dir']['themes_uri'] = 'templates/themes';
|
$config['dir']['themes_uri'] = 'templates/themes';
|
||||||
// Homepage directory
|
// Homepage directory (deprecated)
|
||||||
$config['dir']['home'] = '';
|
$config['dir']['home'] = '';
|
||||||
|
|
||||||
// Static images
|
// Static images
|
||||||
|
@ -29,13 +29,11 @@
|
|||||||
$news = $query->fetchAll(PDO::FETCH_ASSOC);
|
$news = $query->fetchAll(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
return Element('themes/basic/index.html', Array(
|
return Element('themes/basic/index.html', Array(
|
||||||
'settings' => $settings,
|
'settings' => $settings,
|
||||||
'config' => $config,
|
'config' => $config,
|
||||||
'boardlist' => createBoardlist(),
|
'boardlist' => createBoardlist(),
|
||||||
'news' => $news
|
'news' => $news
|
||||||
));
|
));
|
||||||
|
|
||||||
return $body;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user