aboutsummaryrefslogtreecommitdiff
path: root/room.php
diff options
context:
space:
mode:
Diffstat (limited to 'room.php')
-rw-r--r--room.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/room.php b/room.php
index 9844246..43bddcc 100644
--- a/room.php
+++ b/room.php
@@ -1,8 +1,6 @@
<?php
-require_once('lib/PhpTemplate.php');
-require_once('lib/helper.php');
-require_once('lib/config.php');
+require_once('lib/bootstrap.php');
$room = $_GET['room'];
$language = $_GET['language'];
@@ -36,11 +34,9 @@ switch($format) {
break;
}
-$tpl = new PhpTemplate('template/page.phtml');
echo $tpl->render(array(
'page' => 'room',
- 'baseurl' => baseurl(),
'title' => $GLOBALS['CONFIG']['ROOMS'][$room].' – '.$GLOBALS['CONFIG']['FORMATS'][$format],
'rooms' => $GLOBALS['CONFIG']['ROOMS'],