debugging rsvp-submit.php
This commit is contained in:
1 parent
e3b5bb01ad
commit
7ac460bb1c
1 file changed
+6
-3
@@ -193,10 +193,13 @@ EOD;
|
||||
|
||||
$mail->Body = $body;
|
||||
|
||||
$mail->send();
|
||||
file_put_contents(
|
||||
__DIR__ . '/debug.txt',
|
||||
print_r($_POST, true)
|
||||
);
|
||||
|
||||
header('Location: /thank-you/');
|
||||
exit;
|
||||
echo "PHP WORKS";
|
||||
exit;
|
||||
|
||||
} catch (Exception $e) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user