From 1937a2f49ebe920b79604cb5df3649f9f1dff738 Mon Sep 17 00:00:00 2001 From: polo-pc-greta Date: Mon, 7 Apr 2025 21:38:12 +0200 Subject: =?UTF-8?q?bouton=20suppression=20apr=C3=A8s=20cr=C3=A9ation=20d'u?= =?UTF-8?q?ne=20"news"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php index 2512d6d..8cb2b9a 100644 --- a/public/index.php +++ b/public/index.php @@ -26,7 +26,7 @@ require '../src/model/doctrine-bootstrap.php'; // isDevMode est sur "true", DSN URL::setProtocol(Config::$protocol); // utile si port autre que 80 ou 443 URL::setPort(Config::$port); -URL::setHost($_SERVER['HTTP_HOST']); +URL::setHost($_SERVER['HTTP_HOST'] . Config::$index_path); //require('controller/Session.php'); ini_set('session.cookie_samesite', 'Strict'); -- cgit v1.2.3