diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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'); |