summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpolo-pc-greta <ordipolo@gmx.fr>2025-03-27 18:08:12 +0100
committerpolo-pc-greta <ordipolo@gmx.fr>2025-03-27 18:08:12 +0100
commitc9b69caa9201b8f05c7e4e413253392dac911537 (patch)
treea56e193c3b550962e503e73621661a5654238346 /src
parentdf3612ed7e6691530503f79483d2fdbc032d01b8 (diff)
downloadcms-c9b69caa9201b8f05c7e4e413253392dac911537.zip
erreur de chemin
Diffstat (limited to 'src')
-rw-r--r--src/Config.php2
-rw-r--r--src/controller/URL.php2
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);
6class URL implements Stringable 6class 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;