Fix minore

This commit is contained in:
Pek5892 2024-03-14 09:27:53 +01:00
parent a96fa70eb3
commit 604fad69f6
1 changed files with 4 additions and 2 deletions

View File

@ -166,8 +166,6 @@ $translator->addLocalePath(base_dir().'/locale');
$translator->addLocalePath(base_dir().'/modules/*/locale');
$translator->setLocale($lang, $formatter);
App::setLang(setting('Lingua'));
// Individuazione di versione e revisione del progetto
$version = Update::getVersion();
$revision = Update::getRevision();
@ -305,3 +303,7 @@ $list = array_merge($files, $custom_files);
foreach ($list as $file) {
include_once $file;
}
if (database()->tableExists('zz_settings')) {
App::setLang(setting('Lingua'));
}