Use correct locale, catch error in installer.

This commit is contained in:
James Cole
2026-07-10 21:32:37 +02:00
parent 52b7a5de44
commit 9cf53d7937
2 changed files with 5 additions and 1 deletions
@@ -116,7 +116,7 @@ final class InstallController extends Controller
try {
$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;
+4
View File
@@ -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.__ something
window.__localeId__ = values.locale;