summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;