diff --git a/v13/cleanmodules.php b/v13/tools/cleanmodules.php similarity index 89% rename from v13/cleanmodules.php rename to v13/tools/cleanmodules.php index 368e65d..8a76a3b 100644 --- a/v13/cleanmodules.php +++ b/v13/tools/cleanmodules.php @@ -11,11 +11,11 @@ foreach ($languages as $langCode => $langFile) { $mainLangFile = $langFile; if (is_file($mainLangFile)) { - $mainLangData = json_decode(file_get_contents($mainLangFile), true); + $mainLangData = json_decode(file_get_contents('../' . $mainLangFile), true); // Parcourir les sous-dossiers des modules foreach ($moduleSubdirs as $subdir) { - $moduleLangFile = 'modules/' . $subdir . '/' . $langFile; + $moduleLangFile = '../modules/' . $subdir . '/' . $langFile; if (is_file($moduleLangFile)) { $moduleLangData = json_decode(file_get_contents($moduleLangFile), true);