diff options
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 ''; +} |