From 024d632396def58c335944cae24371a10a3306b9 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 31 Mar 2015 23:17:01 +0200 Subject: Implement Relive based on the MVT Pattern --- index.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 5292f82..0e5117f 100644 --- a/index.php +++ b/index.php @@ -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'); } -- cgit v1.2.3