diff options
author | MaZderMind | 2015-03-31 23:17:01 +0200 |
---|---|---|
committer | MaZderMind | 2015-03-31 23:17:01 +0200 |
commit | 024d632396def58c335944cae24371a10a3306b9 (patch) | |
tree | 579b4cdf2b4bb00a4329e186e19d2b2f9b1e519d /index.php | |
parent | 5b3788456f9e5b290eb2148af50b3f0a981a8923 (diff) |
Implement Relive based on the MVT Pattern
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -15,6 +15,7 @@ require_once('model/Room.php'); require_once('model/RoomTab.php'); require_once('model/RoomSelection.php'); require_once('model/Stream.php'); +require_once('model/Relive.php'); $route = @$_GET['route']; $route = rtrim($route, '/'); @@ -61,9 +62,6 @@ try { else if(preg_match('@^relive/([0-9]+)$@', $route, $m)) { - if(!has('OVERVIEW.RELIVE_JSON')) - return require('view/404.php'); - $_GET = array( 'id' => $m[1], ); @@ -72,9 +70,6 @@ try { else if(preg_match('@^relive$@', $route, $m)) { - if(!has('OVERVIEW.RELIVE_JSON')) - return require('view/404.php'); - require('view/relive.php'); } |