debugging rsvp-submit.php

This commit is contained in:
spetznas committed 2026-06-17 18:35:36 +02:00
1 parent e3b5bb01ad
commit 7ac460bb1c
1 file changed
+6 -3
+6 -3
View File
@@ -193,10 +193,13 @@ EOD;
$mail->Body = $body; $mail->Body = $body;
$mail->send(); file_put_contents(
__DIR__ . '/debug.txt',
print_r($_POST, true)
);
header('Location: /thank-you/'); echo "PHP WORKS";
exit; exit;
} catch (Exception $e) { } catch (Exception $e) {