Fix minore
This commit is contained in:
parent
a96fa70eb3
commit
604fad69f6
6
core.php
6
core.php
|
@ -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'));
|
||||
}
|
Loading…
Reference in New Issue