summaryrefslogtreecommitdiff
path: root/src/router.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-08-17 19:46:20 +0200
committerpolo <ordipolo@gmx.fr>2025-08-17 19:46:20 +0200
commitdba24b8c18aed84a71c3169b2df5598d62deab06 (patch)
treecf913cd986f01894bc32a71997014434bf3ec7ad /src/router.php
parentd7468fc363b5d028db84373d4abfa6d7d19bacb9 (diff)
downloadcms-dba24b8c18aed84a71c3169b2df5598d62deab06.zip
classe FormValidation et amélioration des envois d'e-mail
Diffstat (limited to 'src/router.php')
-rw-r--r--src/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router.php b/src/router.php
index 19fe1c1..238cac9 100644
--- a/src/router.php
+++ b/src/router.php
@@ -63,7 +63,7 @@ elseif($_SERVER['REQUEST_METHOD'] === 'POST'){
63 { 63 {
64 // formulaire de contact 64 // formulaire de contact
65 if($_GET['action'] === 'send_email'){ 65 if($_GET['action'] === 'send_email'){
66 EmailController::submit($json, $entityManager); 66 ContactFormController::sendVisitorEmail($entityManager, $json);
67 } 67 }
68 } 68 }
69 } 69 }