summaryrefslogtreecommitdiff
path: root/src/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Config.php')
-rw-r--r--src/Config.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/Config.php b/src/Config.php
index 500d6ea..caa91d0 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -7,9 +7,9 @@ class Config
7{ 7{
8 // BDD 8 // BDD
9 static public string $db_host = 'localhost'; 9 static public string $db_host = 'localhost';
10 static public string $database = 'nageurs'; 10 static public string $database = '';
11 static public string $db_driver = 'pdo_mysql'; 11 static public string $db_driver = 'pdo_mysql';
12 static public string $user = 'root'; 12 static public string $user = '';
13 static public string $password = ''; 13 static public string $password = '';
14 static public string $table_prefix = ''; 14 static public string $table_prefix = '';
15 15
@@ -18,6 +18,16 @@ class Config
18 static public string $index_path = ''; 18 static public string $index_path = '';
19 static public string $port = '80'; 19 static public string $port = '80';
20 20
21 // e-mails
22 static public string $smtp_host = '';
23 static public string $smtp_username = '';
24 static public string $smtp_password = '';
25 static public string $smtp_secure = 'tls'; // tls (smarttls) ou ssl (smtps)
26 static public string $email_from = '';
27 static public string $email_from_name = 'site web';
28 static public string $email_dest = '';
29 static public string $email_dest_name = 'destinataire formulaire';
30
21 // copier dans ce tableau les variables contenant des chemins 31 // copier dans ce tableau les variables contenant des chemins
22 static private array $path_vars = []; 32 static private array $path_vars = [];
23 33