From 180422cb6f1b2fab6b9004a219911cd0d1396940 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Thu, 14 Mar 2024 14:45:29 +0100 Subject: [PATCH] Fix minore --- core.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core.php b/core.php index 1ecb2d590..17164ba84 100755 --- a/core.php +++ b/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')); } \ No newline at end of file