commit 2c12df35e2cc712f6b59546e9070ac8541c79023 parent 9ff8e9e073cf67f430ed534f5017d27ede1563d9 Author: MoiBaguette <[email protected]> Date: Sat, 17 Jun 2023 11:14:40 +0200 no more 404 now redirect to login Diffstat:
M | Lollipop/Router.php | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Lollipop/Router.php b/Lollipop/Router.php @@ -79,7 +79,7 @@ namespace Lollipop { } } - echo "404 '$this->path' not found!"; + echo $this->temp->template("views/login.html", $vars); return null; } }