mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-07-28 00:09:56 -07:00
Use correct locale, catch error in installer.
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user