Fix minore

This commit is contained in:
Pek5892 2024-03-14 14:45:29 +01:00
parent 286ad99d2a
commit 180422cb6f
1 changed files with 3 additions and 4 deletions

View File

@ -265,6 +265,9 @@ if (!API\Response::isAPIRequest()) {
}
Permissions::check();
// Impostazione della lingua
App::setLang(setting('Lingua'));
}
// Retrocompatibilità
@ -303,7 +306,3 @@ $list = array_merge($files, $custom_files);
foreach ($list as $file) {
include_once $file;
}
if (database()->tableExists('zz_settings')) {
App::setLang(setting('Lingua'));
}