From 98503c649c2c75ddf2fb7ae87ff204a3cb0b4f1b Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 19 Sep 2022 09:37:22 +0200 Subject: [PATCH] =?UTF-8?q?charge=20la=20langue=20s=C3=A9lectionn=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index abb3dbd0..909781cb 100644 --- a/core/core.php +++ b/core/core.php @@ -183,7 +183,6 @@ class common { 'page' => '', 'theme' => '', 'user' => '' - ]; public static $fontsWebSafe = [ @@ -384,7 +383,7 @@ class common { } // Chargement des dialogues - self::$dialog = json_decode(file_get_contents(self::I18N_DIR . 'en.json'), true); + self::$dialog = json_decode(file_get_contents(self::I18N_DIR . self::$i18n . '.json'), true); // Mise à jour des données core if( $this->getData(['core', 'dataVersion']) !== intval(str_replace('.','',self::ZWII_VERSION))) include( 'core/include/update.inc.php');