diff options
author | MaZderMind | 2014-11-29 19:31:21 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-29 19:31:21 +0100 |
commit | 6fea306ab914287bc2e6ec242f440e31e440110f (patch) | |
tree | 21c308f2fc31999ff9c8a31491c5ecddd9b8bf0b /pages/party.php | |
parent | a3f189df339781c6aa4177b03cc1175a6bc53efe (diff) |
move url rewriting into php
for better compatibility with nginx
Diffstat (limited to 'pages/party.php')
-rw-r--r-- | pages/party.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pages/party.php b/pages/party.php new file mode 100644 index 0000000..a095df3 --- /dev/null +++ b/pages/party.php @@ -0,0 +1,15 @@ +<?php + +require_once('lib/bootstrap.php'); + +$room = $_GET['room']; +echo $tpl->render(array( + 'page' => 'party', + + 'title' => $GLOBALS['CONFIG']['ROOMS'][$room], + + 'rooms' => $GLOBALS['CONFIG']['ROOMS'], + + 'room' => $room, + 'roomname' => $GLOBALS['CONFIG']['ROOMS'][$room], +)); |