From 1312de02d80638870c459598d7962a6af539de22 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 6 May 2020 16:15:08 +0200 Subject: [PATCH] 086 Nom du fichier de backup --- core/class/helper.class.php | 2 +- core/core.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index 0229986f..d6f1e149 100755 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -73,7 +73,7 @@ class helper { public static function autoBackup($folder, $filter = ['backup','tmp'] ) { // Creation du ZIP - $fileName = str_replace('/','',helper::baseUrl(false,false)) . '-'. date('Y-m-d-h-i-s', time()) . '.zip'; + $fileName = 'ZwiiCMS-backup'. date('Y-m-d-h-i-s', time()) . '.zip'; $zip = new ZipArchive(); $zip->open($folder . $fileName, ZipArchive::CREATE | ZipArchive::OVERWRITE); $directory = 'site/'; diff --git a/core/core.php b/core/core.php index 71300793..5a2cdb8b 100755 --- a/core/core.php +++ b/core/core.php @@ -36,7 +36,7 @@ class common { const THUMBS_WIDTH = 640; // Numéro de version - const ZWII_VERSION = '10.0.085'; + const ZWII_VERSION = '10.0.086'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = [];