diff options
| author | polo <ordipolo@gmx.fr> | 2025-07-04 00:43:35 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-07-04 00:43:35 +0200 |
| commit | 2d7bacce891eab0adb0263d598bfe44418788f42 (patch) | |
| tree | 4353250f80cc556a278640f22c194a0033d05829 /src/Config.php | |
| parent | ea3eaf84c6de3f96d6bb73e817147f8571fd6c1f (diff) | |
| download | cms-2d7bacce891eab0adb0263d598bfe44418788f42.tar.gz cms-2d7bacce891eab0adb0263d598bfe44418788f42.tar.bz2 cms-2d7bacce891eab0adb0263d598bfe44418788f42.zip | |
formulaire de contact 3
Diffstat (limited to 'src/Config.php')
| -rw-r--r-- | src/Config.php | 14 |
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 | ||
