Fixes for language files.
This commit is contained in:
parent
154bd410a4
commit
dabe69967d
|
@ -153,11 +153,11 @@ class UpdateController
|
||||||
$useLangDeDu = true;
|
$useLangDeDu = true;
|
||||||
// https://downloads.phpbb.de/pakete/deutsch/3.3/3.3.10/phpBB_lang_de-3.3.10.tar.bz2
|
// 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";
|
$languageFile = "phpBB_lang_de-$availableUpdate.tar.bz2";
|
||||||
echo "language file: $languageFile";
|
echo "Language file: $languageFile.";
|
||||||
$langDeDuTarget = "dist/$languageFile";
|
$langDeDuTarget = "dist/$languageFile";
|
||||||
|
|
||||||
if (!file_exists(filename: $langDeDuTarget)) {
|
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";
|
$filePath = "https://downloads.phpbb.de/pakete/deutsch/$major.$minor/$availableUpdate/$languageFile";
|
||||||
if (file_exists(filename: $filePath)) {
|
if (file_exists(filename: $filePath)) {
|
||||||
$phpBBtbz = file_get_contents(filename: $filePath);
|
$phpBBtbz = file_get_contents(filename: $filePath);
|
||||||
|
|
Loading…
Reference in New Issue