diff options
author | Andreas Hubel | 2020-06-07 21:36:10 +0200 |
---|---|---|
committer | Andreas Hubel | 2020-06-07 21:36:10 +0200 |
commit | d0a9d8b2b0d28dbef209c7cbcbfd56eaeac24d9b (patch) | |
tree | 9fa0fe42cda5b91479ce7219dd8d259652349efb /index.php | |
parent | 7d167175ef9878edfd488518e0bdd09493fe6b9b (diff) |
hacky netcut integration
Diffstat (limited to '')
-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'); |