aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/index.php b/index.php
index 95dac53..569a4b9 100644
--- a/index.php
+++ b/index.php
@@ -70,6 +70,8 @@ try {
$route = rtrim($route, '/');
$GLOBALS['forceopen'] = isset($_GET['forceopen']);
+ $GLOBALS['netcut'] = preg_match('@^relive/([0-9]+)/cut$@', $route);
+
// generic template
$tpl = new PhpTemplate('template/page.phtml');
@@ -251,6 +253,15 @@ try {
require('view/relive-player.php');
}
+ // ROUTES AVAILABLE AFTER BUT NOT BEFORE THE CONFERENCE
+ else if(preg_match('@^relive/([0-9]+)/cut$@', $route, $m))
+ {
+ $_GET = array(
+ 'id' => $m[1],
+ );
+ require('view/relive-player-netcut.php');
+ }
+
else if($route == 'relive')
{
require('view/relive.php');