From 26d75add8f48933538ec39419752bc94bfc078ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Tue, 29 Nov 2022 18:13:51 +0100 Subject: [PATCH] Put back cast to string now that timelimit is an int MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.5