.env en moins normalement

This commit is contained in:
Yasder5 2026-03-03 20:41:35 +01:00
parent f1ef53c4ac
commit c8343faec7
4 changed files with 9 additions and 12 deletions

View file

@ -26,6 +26,6 @@
}
if ($boolError) {
header("Location: index.php?ctrl=error&action=error_404");
exit;
$error = new \Controllers\ErrorCtrl();
return $error->error_404();
}