diff options
author | Florian Larysch | 2015-09-02 16:19:39 +0200 |
---|---|---|
committer | Florian Larysch | 2015-09-02 16:19:39 +0200 |
commit | 72185179ad6942bfdcbcc4368f1a2b65e639d7a7 (patch) | |
tree | 5616e851e3dc3903412fd41dcf76e64e95f05cf2 /index.php | |
parent | 3fe5f315da97c77067ee27355f5aeace47ca8c05 (diff) |
let relive be accessible even when the conference has ended
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -70,6 +70,19 @@ try { require('view/not-started.php'); } + else if(preg_match('@^relive/([0-9]+)$@', $route, $m)) + { + $_GET = array( + 'id' => $m[1], + ); + require('view/relive-player.php'); + } + + else if($route == 'relive') + { + require('view/relive.php'); + } + else if($conference->hasEnded()) { require('view/closed.php'); @@ -95,19 +108,6 @@ try { require('view/feedback.php'); } - else if(preg_match('@^relive/([0-9]+)$@', $route, $m)) - { - $_GET = array( - 'id' => $m[1], - ); - require('view/relive-player.php'); - } - - else if($route == 'relive') - { - require('view/relive.php'); - } - else if(preg_match('@^([^/]+)$@', $route, $m)) { $_GET = array( |