From 1c5abc4834ec8b0a4cde9dfe46e4fe5918573bc5 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Sun, 16 Apr 2023 12:37:28 +0200 Subject: [PATCH] test code --- pages/contact/contact.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/contact/contact.php b/pages/contact/contact.php index 527c0d4..88f1dd1 100644 --- a/pages/contact/contact.php +++ b/pages/contact/contact.php @@ -37,6 +37,8 @@ send()) { console_log("zprava odeslana"); - console_log("zprava:"); - console_log($m); header('Location: /?sent=true'); } else { - console_log("zprava neodeslana"); - console_log($m); + error_log("Message wasn't sent"); + error_log($m); echo "

Něco se nepovedlo, zkuste to znovu... :(

"; echo "Zpět"; }