diff options
author | MaZderMind | 2015-02-27 17:21:51 +0100 |
---|---|---|
committer | MaZderMind | 2015-02-27 17:21:51 +0100 |
commit | 18031079f5ca57cdac6aa4ab4c236182329bc1f7 (patch) | |
tree | 0a63e5861033f3a689af1da4d20ddcf519afee59 /index.php | |
parent | ea0e8de1c5d132103010ba5aaf98ecb162f66358 (diff) |
Work on Room-Page
Diffstat (limited to '')
-rw-r--r-- | index.php | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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'); |