coryd.dev/server/utils/routing.php

8 lines
104 B
PHP

<?php
function redirectTo404(): void {
header("Location: /404/", true, 302);
exit();
}
?>