From 4cc4a0153450994759754bb13fa6db44c616ecb0 Mon Sep 17 00:00:00 2001 From: Cedric Abonnel Date: Wed, 13 May 2026 02:06:15 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20500=20sur=20/login/=20=E2=80=94=20SiteSe?= =?UTF-8?q?ttings.php=20non=20charg=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit login/index.php n'incluait pas src/SiteSettings.php, provoquant un fatal error sur siteLang() appelée par layout.php dès la ligne 2. Fixes #46 Co-Authored-By: Claude Sonnet 4.6 --- public/login/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/login/index.php b/public/login/index.php index 00efec7..5ae2e80 100644 --- a/public/login/index.php +++ b/public/login/index.php @@ -38,6 +38,7 @@ if (!function_exists('url')) { require_once dirname(__DIR__, 2) . '/vendor/autoload.php'; require_once dirname(__DIR__, 2) . '/bootstrap.php'; require_once dirname(__DIR__, 2) . '/config/config.php'; +require_once dirname(__DIR__, 2) . '/src/SiteSettings.php'; // Paramètres (env) $ttlMin = (int) env('MAGIC_LINK_TTL_MINUTES', '30');