update navigation for better mobile handling

Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org>
This commit is contained in:
Maurice Preuß (envoyr)
2022-12-21 20:23:54 +01:00
parent 996b2e4a78
commit 669072d996
5 changed files with 40 additions and 21 deletions

View File

@@ -93,7 +93,7 @@ class UI
public static function sendHeaders()
{
session_set_cookie_params([
'lifetime' => 600, // will be renewed based on settings in lib/init.php
'lifetime' => self::$install_mode ? 7200 : 600, // will be renewed based on settings in lib/init.php
'path' => '/',
'domain' => $_SERVER['HTTP_HOST'],
'secure' => self::requestIsHttps(),