aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorroot2016-09-03 19:57:40 +0200
committerroot2016-09-03 19:57:40 +0200
commite0dc97ff62bb77c7e943a28638c5da1b9d429577 (patch)
treee30650fe2d6b4b1884b889aa7812a17b1c4ab4d2 /index.php
parent7dd0823e93f9ddc25ccc59eff7ce6f5419962757 (diff)
parent4e8fed0b773ad33e50017f498d40440592b7c4ef (diff)
Merge branch 'master' of ssh://mng.ber.c3voc.de/streaming-website
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.php b/index.php
index 38e5a0d..4deefcd 100644
--- a/index.php
+++ b/index.php
@@ -45,8 +45,13 @@ try {
}
else $route = '';
+
+ $pieces = parse_url($route);
+ $route = $pieces['path'];
$route = rtrim($route, '/');
+ $GLOBALS['forceopen'] = isset($_GET['forceopen']);
+
// generic template
$tpl = new PhpTemplate('template/page.phtml');
$tpl->set(array(