From f046a4577dafc211aff13a9902487fd6a11bdb1f Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 17 Jan 2019 19:05:21 +0100 Subject: [PATCH] Creation du theme dans un dossier --- 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 a9d0a671..7977433e 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -501,7 +501,8 @@ class theme extends common { // Make zip $zipFilename = $this->makezip(); // Téléchargement du ZIP - copy ('site/tmp/' . $zipFilename , 'site/file/source/' . $zipFilename); + mkdir('site/file/source/theme'); + copy ('site/tmp/' . $zipFilename , 'site/file/source/theme/' . $zipFilename); // Nettoyage du dossier unlink ('site/tmp/' . $zipFilename); // Valeurs en sortie