From 937388023915e928d23e682007afcd2b67a87903 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 5 Apr 2024 18:21:09 +0200 Subject: [PATCH] =?UTF-8?q?D=C3=A9truit=20le=20fichier=20de=20verrouillage?= =?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 a6e6b25..90dd620 100644 --- a/core/core.php +++ b/core/core.php @@ -834,6 +834,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);