renomme les dossiers de langue

This commit is contained in:
Fred Tempez 2022-11-21 10:40:11 +01:00
parent f2f0753584
commit 3130c8da76
1 changed files with 1 additions and 2 deletions

View File

@ -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';