From 3130c8da7675072e6f01d6981b14aee40e673ed5 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 21 Nov 2022 10:40:11 +0100 Subject: [PATCH] renomme les dossiers de langue --- core/core.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index 945195e1..04d42ab1 100644 --- a/core/core.php +++ b/core/core.php @@ -327,8 +327,7 @@ class common // COnvertit les dossiers vers la nouvelle structure foreach ($languages as $key => $value) { if (is_dir(self::DATA_DIR . $key)) { - $this->copyDir(self::DATA_DIR . $key, self::DATA_DIR . $value); - $this->removeDir(self::DATA_DIR . $key); + rename(self::DATA_DIR . $key, self::DATA_DIR . $value); } } self::$i18nUI = 'fr_FR';