diff options
author | Mario <mario@mariovavti.com> | 2022-01-10 11:37:47 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-10 11:37:47 +0000 |
commit | 7e2aecd8bb279bccc09edb6e107d1bb834971aa1 (patch) | |
tree | 662bb24d80e0b4accd1946baaea299fe8204cff2 /Zotlabs/Web/Session.php | |
parent | 105d1211991d354932421bcc88d97baca8518b43 (diff) | |
download | volse-hubzilla-7e2aecd8bb279bccc09edb6e107d1bb834971aa1.tar.gz volse-hubzilla-7e2aecd8bb279bccc09edb6e107d1bb834971aa1.tar.bz2 volse-hubzilla-7e2aecd8bb279bccc09edb6e107d1bb834971aa1.zip |
lifetime->expires
Diffstat (limited to 'Zotlabs/Web/Session.php')
-rw-r--r-- | Zotlabs/Web/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Web/Session.php b/Zotlabs/Web/Session.php index 443a02d20..12823b067 100644 --- a/Zotlabs/Web/Session.php +++ b/Zotlabs/Web/Session.php @@ -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), |