aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorFlorian Larysch2015-09-02 16:19:39 +0200
committerFlorian Larysch2015-09-02 16:19:39 +0200
commit72185179ad6942bfdcbcc4368f1a2b65e639d7a7 (patch)
tree5616e851e3dc3903412fd41dcf76e64e95f05cf2 /index.php
parent3fe5f315da97c77067ee27355f5aeace47ca8c05 (diff)
let relive be accessible even when the conference has ended
Diffstat (limited to '')
-rw-r--r--index.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/index.php b/index.php
index e766f54..21e7328 100644
--- a/index.php
+++ b/index.php
@@ -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(