From eb53b3a69db8395d2a40a1ec6618431d41909256 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 1 Oct 2014 15:03:06 +0200 Subject: fix linkage --- .htaccess | 1 + formats.php | 2 +- template/rooms.phtml | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index af1704f..8915f0a 100644 --- a/.htaccess +++ b/.htaccess @@ -6,6 +6,7 @@ RewriteCond %{REQUEST_FILENAME} !-l # / -> index.php - room/streams list +DirectoryIndex index.php # /room/ -> formats.php - list of qualities/formats RewriteRule ^(saal1|saal2|saalg|saalz)/?$ formats.php?room=$1 [L] diff --git a/formats.php b/formats.php index 1908680..5d66f08 100644 --- a/formats.php +++ b/formats.php @@ -8,7 +8,7 @@ $room = $_GET['room']; $tpl = new PhpTemplate('template/page.phtml'); echo $tpl->render(array( - 'page' => 'rooms', + 'page' => 'formats', 'baseurl' => baseurl(), 'title' => 'Stream-Formats', 'subtitle' => ucfirst($room), diff --git a/template/rooms.phtml b/template/rooms.phtml index e4d5f32..82fcd2b 100644 --- a/template/rooms.phtml +++ b/template/rooms.phtml @@ -2,7 +2,6 @@ foreach($rooms as $room => $display): ?>