diff options
author | root | 2016-09-03 19:57:40 +0200 |
---|---|---|
committer | root | 2016-09-03 19:57:40 +0200 |
commit | e0dc97ff62bb77c7e943a28638c5da1b9d429577 (patch) | |
tree | e30650fe2d6b4b1884b889aa7812a17b1c4ab4d2 /lib/helper.php | |
parent | 7dd0823e93f9ddc25ccc59eff7ce6f5419962757 (diff) | |
parent | 4e8fed0b773ad33e50017f498d40440592b7c4ef (diff) |
Merge branch 'master' of ssh://mng.ber.c3voc.de/streaming-website
Diffstat (limited to '')
-rw-r--r-- | lib/helper.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/helper.php b/lib/helper.php index 170d224..4fce91e 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -100,3 +100,11 @@ function days_diff_readable($date) return "in $days days"; } + +function url_params() +{ + if($GLOBALS['forceopen']) + return '?forceopen=yess'; + + return ''; +} |