diff options
| author | polo-pc-greta <ordipolo@gmx.fr> | 2025-04-07 21:38:12 +0200 |
|---|---|---|
| committer | polo-pc-greta <ordipolo@gmx.fr> | 2025-04-07 21:38:12 +0200 |
| commit | 1937a2f49ebe920b79604cb5df3649f9f1dff738 (patch) | |
| tree | fac9a39aae9690b0e5a860bdb2cc88565e83daac /public/index.php | |
| parent | 09bea09c8157ff45279f0d06aa9d313448c0bec5 (diff) | |
| download | cms-1937a2f49ebe920b79604cb5df3649f9f1dff738.tar.gz cms-1937a2f49ebe920b79604cb5df3649f9f1dff738.tar.bz2 cms-1937a2f49ebe920b79604cb5df3649f9f1dff738.zip | |
bouton suppression après création d'une "news"
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 26 | 26 | ||
| 27 | URL::setProtocol(Config::$protocol); // utile si port autre que 80 ou 443 | 27 | URL::setProtocol(Config::$protocol); // utile si port autre que 80 ou 443 |
| 28 | URL::setPort(Config::$port); | 28 | URL::setPort(Config::$port); |
| 29 | URL::setHost($_SERVER['HTTP_HOST']); | 29 | URL::setHost($_SERVER['HTTP_HOST'] . Config::$index_path); |
| 30 | 30 | ||
| 31 | //require('controller/Session.php'); | 31 | //require('controller/Session.php'); |
| 32 | ini_set('session.cookie_samesite', 'Strict'); | 32 | ini_set('session.cookie_samesite', 'Strict'); |
