From c9b69caa9201b8f05c7e4e413253392dac911537 Mon Sep 17 00:00:00 2001 From: polo-pc-greta Date: Thu, 27 Mar 2025 18:08:12 +0100 Subject: erreur de chemin --- src/Config.php | 2 +- src/controller/URL.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Config.php b/src/Config.php index cfec876..882ec98 100644 --- a/src/Config.php +++ b/src/Config.php @@ -15,7 +15,7 @@ class Config // classe URL static public string $protocol = 'http'; - static public string $host = 'nageurs.localhost'; + //static public string $host = ''; static public string $port = '80'; // copier dans ce tableau les variables contenant des chemins diff --git a/src/controller/URL.php b/src/controller/URL.php index 956d85d..3ebc488 100644 --- a/src/controller/URL.php +++ b/src/controller/URL.php @@ -6,7 +6,7 @@ declare(strict_types=1); class URL implements Stringable { static private string $protocol = 'http://'; - static private string $host = 'localhost'; + static private string $host = ''; static private string $port; static private string $path = '/index.php'; private array $params; -- cgit v1.2.3