From 327387b6d66b0698f0d7c2f38b8d408e68792168 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 7 Feb 2022 10:32:36 +0100 Subject: [PATCH] =?UTF-8?q?Cr=C3=A9ation=20du=20dossier=20des=20fontes=20d?= =?UTF-8?q?ans=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/install/install.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/module/install/install.php b/core/module/install/install.php index 9a8c34a5..90f6621d 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -117,6 +117,10 @@ class install extends common { } unlink(self::TEMP_DIR . 'files.tar.gz'); unlink(self::TEMP_DIR . 'files.tar'); + // Créer le dossier des fontes + if (!is_dir(self::DATA_DIR . 'fonts')) { + mkdir(self::DATA_DIR . 'fonts'); + } // Stocker le dossier d'installation $this->setData(['core', 'baseUrl', helper::baseUrl(false,false) ]); // Créer sitemap