Ajoute la redirection

This commit is contained in:
Kazhnuz 2025-03-28 22:55:52 +01:00
parent 1e83e7f8d0
commit 08de1a5c7f

View file

@ -49,4 +49,9 @@ class Renderer {
echo $this->twig->render($template, $this->data); echo $this->twig->render($template, $this->data);
die(); die();
} }
public function redirect($redirection) {
header("Location: " . $redirection);
die();
}
} }