From 66415560841c0bfa35f0110da0a07865f57a7580 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 10 Mar 2023 15:52:09 +0100 Subject: [PATCH] preupdate database --- core/include/pre-update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/pre-update.php b/core/include/pre-update.php index 67862129..3c21a6b5 100644 --- a/core/include/pre-update.php +++ b/core/include/pre-update.php @@ -39,7 +39,7 @@ if (file_exists('site/data/core.json')) { $d = file_get_contents($k); $d = str_replace(basename($k,'.json'), basename($v, '.json'), $d); file_put_contents($v, $d); - + unlink($k); } } if (file_exists('core/module/install/ressource/i18n/languages.json')) {