removed debug stuff
This commit is contained in:
parent
a1b030e463
commit
2fd033a8c5
|
@ -151,17 +151,13 @@ class UpdateController
|
|||
$useLangDeDu = false;
|
||||
if (file_exists(filename: $phpBBRootPath . 'language/de')) {
|
||||
$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.";
|
||||
$langDeDuTarget = "dist/$languageFile";
|
||||
|
||||
if (!file_exists(filename: $langDeDuTarget)) {
|
||||
echo " Downloading $languageFile" . PHP_EOL;
|
||||
$filePath = "https://downloads.phpbb.de/pakete/deutsch/$major.$minor/$availableUpdate/$languageFile";
|
||||
// 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";
|
||||
|
||||
if ($phpBBtbz = file_get_contents(filename: $filePath)) {
|
||||
file_put_contents(filename: $langDeDuTarget, data: $phpBBtbz);
|
||||
} else {
|
||||
|
@ -179,14 +175,11 @@ class UpdateController
|
|||
if (file_exists(filename: $phpBBRootPath . 'language/de_x_sie')) {
|
||||
$useLangDeSie = true;
|
||||
$languageFile = "phpBB_lang_de_x_sie-$availableUpdate.tar.bz2";
|
||||
echo "Language file: $languageFile.";
|
||||
$langDeSieTarget = "dist/$languageFile";
|
||||
|
||||
if (!file_exists(filename: $langDeSieTarget)) {
|
||||
echo " Downloading language $languageFile" . PHP_EOL;
|
||||
$filePath = "https://downloads.phpbb.de/pakete/deutsch/$major.$minor/$availableUpdate/$languageFile";
|
||||
// https://downloads.phpbb.de/pakete/deutsch/3.3/3.3.10/phpBB_lang_de_x_sie-3.3.10.tar.bz2
|
||||
// https://downloads.phpbb.de/pakete/deutsch/3.3/3.3.10/phpBB_lang_de_x_sie-3.3.10.tar.bz2
|
||||
|
||||
if ($phpBBtbz = file_get_contents(filename: $filePath)) {
|
||||
file_put_contents(filename: $langDeSieTarget, data: $phpBBtbz);
|
||||
|
|
Loading…
Reference in New Issue