aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMaZderMind2015-02-27 17:21:51 +0100
committerMaZderMind2015-02-27 17:21:51 +0100
commit18031079f5ca57cdac6aa4ab4c236182329bc1f7 (patch)
tree0a63e5861033f3a689af1da4d20ddcf519afee59 /index.php
parentea0e8de1c5d132103010ba5aaf98ecb162f66358 (diff)
Work on Room-Page
Diffstat (limited to '')
-rw-r--r--index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.php b/index.php
index 7ac4c8e..a5c365d 100644
--- a/index.php
+++ b/index.php
@@ -14,7 +14,7 @@ else if(preg_match('@^([^/]+)$@', $route, $m))
{
$_GET = array(
'room' => $m[1],
- 'format' => 'sd',
+ 'selection' => 'hd',
'language' => 'native',
);
include('pages/room.php');
@@ -24,27 +24,27 @@ else if(preg_match('@^([^/]+)/translated$@', $route, $m))
{
$_GET = array(
'room' => $m[1],
- 'format' => 'sd',
+ 'selection' => 'hd',
'language' => 'translated',
);
include('pages/room.php');
}
-else if(preg_match('@^([^/]+)/(hd|audio|slides)$@', $route, $m))
+else if(preg_match('@^([^/]+)/(sd|audio|slides)$@', $route, $m))
{
$_GET = array(
'room' => $m[1],
- 'format' => $m[2],
+ 'selection' => $m[2],
'language' => 'native',
);
include('pages/room.php');
}
-else if(preg_match('@^([^/]+)/(hd|audio|slides)/translated$@', $route, $m))
+else if(preg_match('@^([^/]+)/(sd|audio|slides)/translated$@', $route, $m))
{
$_GET = array(
'room' => $m[1],
- 'format' => $m[2],
+ 'selection' => $m[2],
'language' => 'translated',
);
include('pages/room.php');