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"; }