diff options
author | polo <ordipolo@gmx.fr> | 2025-09-12 15:04:53 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-09-12 15:04:53 +0200 |
commit | de6a28c63d18a72baa044d9385ed3d15afb40ef0 (patch) | |
tree | 69d25cf3719e540fb23d79b1cbe536e755eb9907 /src/router.php | |
parent | efd79d15adef2a27347c25ebb19754e9937f9715 (diff) | |
download | cms-de6a28c63d18a72baa044d9385ed3d15afb40ef0.zip |
paramètres SMTP en mode admin, possibilité d'utiliser deux formulaires sur la même page
Diffstat (limited to 'src/router.php')
-rw-r--r-- | src/router.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/router.php b/src/router.php index 3c3c773..ccab426 100644 --- a/src/router.php +++ b/src/router.php | |||
@@ -103,8 +103,8 @@ elseif($_SERVER['REQUEST_METHOD'] === 'POST'){ | |||
103 | } | 103 | } |
104 | 104 | ||
105 | /* -- bloc Formulaire -- */ | 105 | /* -- bloc Formulaire -- */ |
106 | elseif($_GET['action'] === 'recipient_email'){ | 106 | elseif($_GET['action'] === 'set_email_param'){ |
107 | ContactFormController::updateRecipient($entityManager, $json); | 107 | ContactFormController::setEmailParam($entityManager, $json); |
108 | } | 108 | } |
109 | elseif($_GET['action'] === 'test_email'){ | 109 | elseif($_GET['action'] === 'test_email'){ |
110 | ContactFormController::sendTestEmail($entityManager, $json); | 110 | ContactFormController::sendTestEmail($entityManager, $json); |