diff options
author | polo-pc-greta <ordipolo@gmx.fr> | 2025-03-27 18:08:12 +0100 |
---|---|---|
committer | polo-pc-greta <ordipolo@gmx.fr> | 2025-03-27 18:08:12 +0100 |
commit | c9b69caa9201b8f05c7e4e413253392dac911537 (patch) | |
tree | a56e193c3b550962e503e73621661a5654238346 /src | |
parent | df3612ed7e6691530503f79483d2fdbc032d01b8 (diff) | |
download | cms-c9b69caa9201b8f05c7e4e413253392dac911537.zip |
erreur de chemin
Diffstat (limited to 'src')
-rw-r--r-- | src/Config.php | 2 | ||||
-rw-r--r-- | src/controller/URL.php | 2 |
2 files changed, 2 insertions, 2 deletions
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 | |||
15 | 15 | ||
16 | // classe URL | 16 | // classe URL |
17 | static public string $protocol = 'http'; | 17 | static public string $protocol = 'http'; |
18 | static public string $host = 'nageurs.localhost'; | 18 | //static public string $host = ''; |
19 | static public string $port = '80'; | 19 | static public string $port = '80'; |
20 | 20 | ||
21 | // copier dans ce tableau les variables contenant des chemins | 21 | // 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); | |||
6 | class URL implements Stringable | 6 | class URL implements Stringable |
7 | { | 7 | { |
8 | static private string $protocol = 'http://'; | 8 | static private string $protocol = 'http://'; |
9 | static private string $host = 'localhost'; | 9 | static private string $host = ''; |
10 | static private string $port; | 10 | static private string $port; |
11 | static private string $path = '/index.php'; | 11 | static private string $path = '/index.php'; |
12 | private array $params; | 12 | private array $params; |