Fixes for language files4.
This commit is contained in:
parent
08a53a737f
commit
7d88fc5066
|
@ -162,8 +162,7 @@ class UpdateController
|
||||||
// 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
|
||||||
// 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
|
||||||
echo "File path: $filePath";
|
echo "File path: $filePath";
|
||||||
if (file_exists(filename: $filePath)) {
|
if ($phpBBtbz = file_get_contents(filename: $filePath)) {
|
||||||
$phpBBtbz = file_get_contents(filename: $filePath);
|
|
||||||
file_put_contents(filename: $langDeDuTarget, data: $phpBBtbz);
|
file_put_contents(filename: $langDeDuTarget, data: $phpBBtbz);
|
||||||
} else {
|
} else {
|
||||||
echo "Language file $languageFile does not exist." . PHP_EOL;
|
echo "Language file $languageFile does not exist." . PHP_EOL;
|
||||||
|
@ -191,7 +190,7 @@ class UpdateController
|
||||||
file_put_contents(filename: $langDeSieTarget, data: $phpBBtbz);
|
file_put_contents(filename: $langDeSieTarget, data: $phpBBtbz);
|
||||||
} else {
|
} else {
|
||||||
echo 'Language file ' . $languageFile . ' does not exist' . PHP_EOL;
|
echo 'Language file ' . $languageFile . ' does not exist' . PHP_EOL;
|
||||||
echo "Error fetching: $filePath";
|
echo "Error fetching: $filePath" .PHP_EOL;
|
||||||
$useLangDeSie = false;
|
$useLangDeSie = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue