Fixes for language files.

This commit is contained in:
tracer 2023-05-29 15:49:01 +02:00
parent 154bd410a4
commit dabe69967d
1 changed files with 2 additions and 2 deletions

View File

@ -153,11 +153,11 @@ class UpdateController
$useLangDeDu = true;
// https://downloads.phpbb.de/pakete/deutsch/3.3/3.3.10/phpBB_lang_de-3.3.10.tar.bz2
$languageFile = "phpBB_lang_de-$availableUpdate.tar.bz2";
echo "language file: $languageFile";
echo "Language file: $languageFile.";
$langDeDuTarget = "dist/$languageFile";
if (!file_exists(filename: $langDeDuTarget)) {
echo "Downloading language $languageFile" . PHP_EOL;
echo " Downloading $languageFile" . PHP_EOL;
$filePath = "https://downloads.phpbb.de/pakete/deutsch/$major.$minor/$availableUpdate/$languageFile";
if (file_exists(filename: $filePath)) {
$phpBBtbz = file_get_contents(filename: $filePath);