f*cking ;;;;;;;;;;;,'s

This commit is contained in:
Jeppe Ernst 2018-01-25 22:38:55 +01:00
parent 810941f65d
commit 8f447cc201

View file

@ -8,15 +8,15 @@ $lang = $_POST["lang"];
$body = "email: ".$email."\nlang: ".$lang; $body = "email: ".$email."\nlang: ".$lang;
if (mail($to, $subject, $body)) { if (mail($to, $subject, $body)) {
if ($lang == "da") { if ($lang == "da") {
$redirect = "https://ulovliglogning.dk/redirect/success/" $redirect = "https://ulovliglogning.dk/redirect/success/";
} else { } else {
$redirect = "https://ulovliglogning.dk/".$lang."/redirect/success/" $redirect = "https://ulovliglogning.dk/".$lang."/redirect/success/";
} }
} else { } else {
if ($lang == "da") { if ($lang == "da") {
$redirect = "https://ulovliglogning.dk/redirect/fail/" $redirect = "https://ulovliglogning.dk/redirect/fail/";
} else { } else {
$redirect = "https://ulovliglogning.dk/".$lang."/redirect/fail/" $redirect = "https://ulovliglogning.dk/".$lang."/redirect/fail/";
} }
} }