From 9d16bb869cb0856c7c3f91e5be0ca3452750e2d4 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 19 Mar 2019 13:54:28 +0100 Subject: [PATCH] [9.0.08] backup theme.json when update --- core/module/install/install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/module/install/install.php b/core/module/install/install.php index 2cdc1cd8..72283e73 100755 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -98,6 +98,7 @@ class install extends common { $success = true; // Copie du fichier de données copy('site/data/core.json', 'site/backup/' . date('Y-m-d', time()) . '-update.json'); + copy('site/data/theme.json', 'site/backup/' . date('Y-m-d', time()) . '-update.json'); // Nettoyage des fichiers temporaires if(file_exists('site/tmp/update.tar.gz')) { $success = unlink('site/tmp/update.tar.gz');