diff options
Diffstat (limited to 'src/service/Config.php')
| -rw-r--r-- | src/service/Config.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/service/Config.php b/src/service/Config.php index e59f728..7077e01 100644 --- a/src/service/Config.php +++ b/src/service/Config.php | |||
| @@ -18,15 +18,17 @@ 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 | 21 | // envoi e-mails |
| 22 | static public string $smtp_host = ''; | 22 | static public string $smtp_host = ''; |
| 23 | static public string $smtp_username = ''; | 23 | static public string $smtp_username = ''; |
| 24 | static public string $smtp_password = ''; | 24 | static public string $smtp_password = ''; |
| 25 | static public string $smtp_secure = ''; // tls (smarttls) ou ssl (smtps) ou plain_text/chaine vide | 25 | static public string $smtp_secure = ''; // tls (smarttls) ou ssl (smtps) ou plain_text/chaine vide |
| 26 | static public string $email_from = 'mon_adresse@email.fr'; | 26 | |
| 27 | // destination e-mails | ||
| 28 | static public string $email_from = ''; // correspondant affiché dans la boite de réception | ||
| 27 | static public string $email_from_name = 'site web'; | 29 | static public string $email_from_name = 'site web'; |
| 28 | static public string $email_dest = ''; | 30 | static public string $email_dest = ''; // destinataire affiché dans la boite de réception |
| 29 | static public string $email_dest_name = 'destinataire formulaire'; | 31 | static public string $email_dest_name = 'moi'; |
| 30 | 32 | ||
| 31 | // copier dans ce tableau les variables contenant des chemins | 33 | // copier dans ce tableau les variables contenant des chemins |
| 32 | static private array $path_vars = []; | 34 | static private array $path_vars = []; |
