From 9bea40ed086998836a13be1195b874169d791e1b Mon Sep 17 00:00:00 2001 From: F TEMPEZ Date: Thu, 8 Feb 2024 09:44:24 +0100 Subject: [PATCH] =?UTF-8?q?1.4.23=20Installation=20vierge,=20cr=C3=A9ation?= =?UTF-8?q?=20du=20dossier=20home=20dans=20file/source?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/module/install/install.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 8a9a0c4..2d480e1 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.4.22'; + const ZWII_VERSION = '1.4.23'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/module/install/install.php b/core/module/install/install.php index 6794a46..23e455a 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -194,6 +194,11 @@ class install extends common mkdir(self::I18N_DIR); } + // Créer le dossier de l'accueil dans les fichiers + if (is_dir(self::FILE_DIR . 'source/home') === false) { + mkdir(self::FILE_DIR . 'source/home'); + } + // Créer la base de données des langues $this->copyDir('core/module/install/ressource/i18n', self::I18N_DIR);