From 03d1dacb8857d4390c828c65ff1bcb76a060161a Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 5 Apr 2024 18:21:51 +0200 Subject: [PATCH] =?UTF-8?q?d=C3=A9truit=20le=20fichier=20de=20verouillage?= =?UTF-8?q?=20cr=C3=A9=C3=A9=20par=20secureFilePutContent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/core.php b/core/core.php index 449a0f61..e50e96fc 100644 --- a/core/core.php +++ b/core/core.php @@ -658,6 +658,9 @@ class common } } else { fclose($lockHandle); + if (file_exists($lockHandle)) { + unlink($lockHandle); + } } $attempts++; error_log('Erreur d\'écriture (tentative ' . $attempts . ') : impossible de sauvegarder les données dans ' . $filename);