mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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:
parent
e63720b714
commit
45ec432492
1 changed files with 1 additions and 0 deletions
|
|
@ -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 = [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue