Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Use correct locale, catch error in installer.
James Cole9cf53d7937c1
diff --git a/app/Http/Controllers/System/InstallController.php b/app/Http/Controllers/System/InstallController.phpindex beba371589..77f034d966 100644--- a/app/Http/Controllers/System/InstallController.php+++ b/app/Http/Controllers/System/InstallController.php@@ -116,7 +116,7 @@ final class InstallController extends Controllertry {$result = $this->executeCommand($command, $parameters);} catch (FireflyException $e) {- Log::error($e->getMessage());+ Log::error(sprintf('%s when trying %s',$e->getMessage(), $command));Log::error($e->getTraceAsString());if (str_contains($e->getMessage(), 'open_basedir restriction in effect')) {$this->lastError = self::BASEDIR_ERROR;diff --git a/resources/assets/v3/js/boot/bootstrap.js b/resources/assets/v3/js/boot/bootstrap.jsindex ed13efc614..cfbdbedc0a 100644--- a/resources/assets/v3/js/boot/bootstrap.js+++ b/resources/assets/v3/js/boot/bootstrap.js@@ -62,6 +62,10 @@ getFreshVariable('lastActivity').then((serverValue) => {store.set('start', range.start);store.set('end', range.end);}+ //+ if('equal' === values.locale) {+ values.locale = values.language;+ }// save local in window.__ somethingwindow.__localeId__ = values.locale;