coryd.dev/app/Utils/routing.php

9 lines
159 B
PHP

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