diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-29 18:13:51 +0100 |
---|---|---|
committer | Côme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com> | 2022-12-19 09:10:40 +0000 |
commit | 26d75add8f48933538ec39419752bc94bfc078ec (patch) | |
tree | 34621fecd65ae8c63404ac9c34fb004aae83bfcf /lib/base.php | |
parent | 7372da6c6d0905c2abf5cec9e87262ebd07e75ec (diff) | |
download | nextcloud-server-26d75add8f48933538ec39419752bc94bfc078ec.tar.gz nextcloud-server-26d75add8f48933538ec39419752bc94bfc078ec.zip |
Put back cast to string now that timelimit is an int
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 49df9e87d24..b216ef86f9b 100644 --- a/lib/base.php +++ b/lib/base.php @@ -447,7 +447,7 @@ class OC { //try to set the session lifetime $sessionLifeTime = self::getSessionLifeTime(); - @ini_set('gc_maxlifetime', $sessionLifeTime); + @ini_set('gc_maxlifetime', (string)$sessionLifeTime); // session timeout if ($session->exists('LAST_ACTIVITY') && (time() - $session->get('LAST_ACTIVITY') > $sessionLifeTime)) { |