debugging rsvp-submit.php

This commit is contained in:
spetznas committed 2026-06-17 19:32:33 +02:00
1 parent 6c3fdd6b96
commit ff6b0d1938
27 files changed
+2133 -1126

No files matched your search

+10
View File
@@ -207,6 +207,16 @@ EOD;
$mail->send();
$lang = $_POST['lang'] ?? 'en';
$allowedLangs = ['en', 'de', 'ru'];
if (!in_array($lang, $allowedLangs, true)) {
$lang = 'en';
}
header("Location: /{$lang}/thank-you/");
exit;
header('Location: /thank-you/');
exit;