Don't call session_start() when PHP session is still or already open.

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
This commit is contained in:
Claus-Justus Heine 2022-02-21 00:04:47 +01:00 committed by Simon L
parent e63720b714
commit 45ec432492

View file

@ -107,6 +107,7 @@ class Internal extends Session {
$this->reopen();
$this->invoke('session_unset');
$this->regenerateId();
$this->invoke('session_write_close');
$this->startSession(true);
$_SESSION = [];
}