mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix minore
This commit is contained in:
7
core.php
7
core.php
@@ -265,6 +265,9 @@ if (!API\Response::isAPIRequest()) {
|
||||
}
|
||||
|
||||
Permissions::check();
|
||||
|
||||
// Impostazione della lingua
|
||||
App::setLang(setting('Lingua'));
|
||||
}
|
||||
|
||||
// Retrocompatibilità
|
||||
@@ -302,8 +305,4 @@ foreach ($custom_files as $key => $value) {
|
||||
$list = array_merge($files, $custom_files);
|
||||
foreach ($list as $file) {
|
||||
include_once $file;
|
||||
}
|
||||
|
||||
if (database()->tableExists('zz_settings')) {
|
||||
App::setLang(setting('Lingua'));
|
||||
}
|
||||
Reference in New Issue
Block a user