aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMaZderMind2015-03-31 23:17:01 +0200
committerMaZderMind2015-03-31 23:17:01 +0200
commit024d632396def58c335944cae24371a10a3306b9 (patch)
tree579b4cdf2b4bb00a4329e186e19d2b2f9b1e519d /index.php
parent5b3788456f9e5b290eb2148af50b3f0a981a8923 (diff)
Implement Relive based on the MVT Pattern
Diffstat (limited to '')
-rw-r--r--index.php7
1 files changed, 1 insertions, 6 deletions
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');
}