Browse Source

removed old code that will never be executed

pull/40/head
Michael Save 12 years ago
parent
commit
652429a23e
  1. 2
      inc/config.php
  2. 12
      templates/themes/basic/theme.php

2
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

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

Loading…
Cancel
Save