HW start
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user