This commit is contained in:
2024-05-24 13:46:06 +02:00
parent f394538776
commit cceab89523
14 changed files with 134 additions and 15 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class Headers
static function redirect(string $newUrl, bool $permanent = FALSE)
{
header('Location: ' . $newUrl, true, $permanent ? 301 : 302);
header('Location: ' . $newUrl, true, $permanent ? 301 : 303);
exit();
}