aboutsummaryrefslogtreecommitdiff
path: root/party.php
diff options
context:
space:
mode:
authorMaZderMind2014-11-09 20:28:50 +0100
committerMaZderMind2014-11-09 20:28:50 +0100
commitb5cd8aa32cf2e9c83ec457fbb0a235cdec8e37cd (patch)
tree5efcab448905e9af7441239a1ecbfd3cf6869c85 /party.php
parent21cb56374ff92578e447e8aadafb1aba2d56e5e0 (diff)
move init-code into bootstrap-file
Diffstat (limited to '')
-rw-r--r--party.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/party.php b/party.php
index 3307f35..a095df3 100644
--- a/party.php
+++ b/party.php
@@ -1,16 +1,11 @@
<?php
-require_once('lib/PhpTemplate.php');
-require_once('lib/helper.php');
-require_once('lib/config.php');
+require_once('lib/bootstrap.php');
$room = $_GET['room'];
-
-$tpl = new PhpTemplate('template/page.phtml');
echo $tpl->render(array(
'page' => 'party',
- 'baseurl' => baseurl(),
'title' => $GLOBALS['CONFIG']['ROOMS'][$room],
'rooms' => $GLOBALS['CONFIG']['ROOMS'],