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'; $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

12
templates/themes/basic/theme.php

@ -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…
Cancel
Save