From 4e8fed0b773ad33e50017f498d40440592b7c4ef Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 3 Sep 2016 19:50:34 +0200 Subject: accept ?forceopen=yes to force a conference open --- index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index dd2c5d9..4deefcd 100644 --- a/index.php +++ b/index.php @@ -50,6 +50,8 @@ try { $route = $pieces['path']; $route = rtrim($route, '/'); + $GLOBALS['forceopen'] = isset($_GET['forceopen']); + // generic template $tpl = new PhpTemplate('template/page.phtml'); $tpl->set(array( -- cgit v1.2.3