lifetime->expires

This commit is contained in:
Mario
2022-01-10 11:37:47 +00:00
parent 105d121199
commit 7e2aecd8bb

View File

@@ -78,7 +78,7 @@ class Session {
// have some nasty side effects if you have any other subdomains running hubzilla.
session_set_cookie_params([
'lifetime' => ((isset($arr['lifetime'])) ? $arr['lifetime'] : 0),
'expires' => ((isset($arr['lifetime'])) ? $arr['lifetime'] : 0),
'path' => ((isset($arr['path'])) ? $arr['path'] : '/'),
'domain' => (($arr['domain']) ? $arr['domain'] : false),
'secure' => ((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? true : false),