Merge pull request #7243 from owncloud/core-sessionlifetimedefault
Now using PHP session lifetime as default value for the JS config
This commit is contained in:
commit
92560c5b86
|
@ -57,7 +57,7 @@ $array = array(
|
||||||
"firstDay" => json_encode($l->l('firstday', 'firstday')) ,
|
"firstDay" => json_encode($l->l('firstday', 'firstday')) ,
|
||||||
"oc_config" => json_encode(
|
"oc_config" => json_encode(
|
||||||
array(
|
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)
|
'session_keepalive' => \OCP\Config::getSystemValue('session_keepalive', true)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue