From 25a1facf1a974357689cf5e95c6e8fa68c3f6ade Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 17 Oct 2019 13:33:22 +0200 Subject: [PATCH] =?UTF-8?q?[10.0.31.dev]=20Import=20dans=20les=20donn?= =?UTF-8?q?=C3=A9es=20fr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core.php b/core/core.php index d92ca8ec..1adcd4f9 100644 --- a/core/core.php +++ b/core/core.php @@ -31,7 +31,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '10.0.30.dev'; + const ZWII_VERSION = '10.0.31.dev'; public static $actions = []; public static $coreModuleIds = [ @@ -265,7 +265,6 @@ class common { $this->url = $url; } else { - // $this->url = $this->getData(['page', 'homePageId']); $this->url = $this->getHomePageId(); } } @@ -623,9 +622,10 @@ class common { // Backup rename (self::DATA_DIR.'core.json',self::DATA_DIR.'imported_core.json'); rename (self::DATA_DIR.'theme.json',self::DATA_DIR.'imported_theme.json'); + // Dossier de langues - if (!file_exists(self::DATA_DIR . '/' . $this->geti18n())) { - mkdir (self::DATA_DIR . '/' . $this->geti18n()); + if (!file_exists(self::DATA_DIR . '/' . 'fr')) { + mkdir (self::DATA_DIR . '/' . 'fr'); } // Ecriture des données $this->setData(['config',$tempData['config']]);