diff --git a/lib/base.php b/lib/base.php index 1443726705202..e4285aabd223b 100644 --- a/lib/base.php +++ b/lib/base.php @@ -465,7 +465,6 @@ public static function initSession(): void { //try to set the session lifetime $sessionLifeTime = self::getSessionLifeTime(); - @ini_set('gc_maxlifetime', (string)$sessionLifeTime); // session timeout if ($session->exists('LAST_ACTIVITY') && (time() - $session->get('LAST_ACTIVITY') > $sessionLifeTime)) {