mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
lifetime->expires
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user