mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Now using PHP session lifetime as default value for the JS config
This will fix the heartbeat when the session_lifetime config parameter
hasn't been set explicitly.
Backport of f9763e1fc5
This commit is contained in:
parent
80dcec773a
commit
3d5d6b5ad1
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ $array = array(
|
|||
"firstDay" => json_encode($l->l('firstday', 'firstday')) ,
|
||||
"oc_config" => json_encode(
|
||||
array(
|
||||
'session_lifetime' => \OCP\Config::getSystemValue('session_lifetime', 60 * 60 * 24),
|
||||
'session_lifetime' => \OCP\Config::getSystemValue('session_lifetime', ini_get('session.gc_maxlifetime')),
|
||||
'session_keepalive' => \OCP\Config::getSystemValue('session_keepalive', true)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue