From 03a9f4dc371d2353b679485cc88488a928caa6c9 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 19 Feb 2019 23:53:02 +0100 Subject: [PATCH] Horodatage du theme --- core/module/theme/theme.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 323d3e47..a469ec7f 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -545,7 +545,8 @@ class theme extends common { */ public function makezip() { // Creation du dossier - $zipFilename = 'theme-'.date('dmY').'-'.date('hm').'-'.rand(10,99).'.zip'; + // $zipFilename = 'theme-'.date('dmY').'-'.date('hm').'-'.rand(10,99).'.zip'; + $zipFilename = 'theme '.date('d m Y').' '.date('H i s ').'.zip'; $zip = new ZipArchive(); if ($zip->open('site/tmp/' . $zipFilename, ZipArchive::CREATE | ZipArchive::OVERWRITE ) === TRUE) { $zip->addFile('site/data/theme.json','site/data/theme.json');