diff options
author | MaZderMind | 2014-11-09 20:28:50 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-09 20:28:50 +0100 |
commit | b5cd8aa32cf2e9c83ec457fbb0a235cdec8e37cd (patch) | |
tree | 5efcab448905e9af7441239a1ecbfd3cf6869c85 /index.php | |
parent | 21cb56374ff92578e447e8aadafb1aba2d56e5e0 (diff) |
move init-code into bootstrap-file
Diffstat (limited to '')
-rw-r--r-- | index.php | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,13 +1,9 @@ <?php -require_once('lib/PhpTemplate.php'); -require_once('lib/helper.php'); -require_once('lib/config.php'); +require_once('lib/bootstrap.php'); -$tpl = new PhpTemplate('template/page.phtml'); echo $tpl->render(array( 'page' => 'rooms', - 'baseurl' => baseurl(), 'title' => 'Overview', 'rooms' => $GLOBALS['CONFIG']['ROOMS'], |