diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/index.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php index cbfba57..fa89920 100644 --- a/public/index.php +++ b/public/index.php @@ -4,6 +4,8 @@ require_once __DIR__ . '/../app.php'; $url = strtok($_SERVER["REQUEST_URI"], '?'); +#var_dump([ "faces" => get_faces() ]); + switch( $url ) { case("/"): @@ -18,6 +20,10 @@ case("/projects"): case("/tools"): echo $twig->render('tools.html'); break; +case("/tools/faces"): +case("/tools/faces/"): + echo $twig->render('tools/faces/index.html', [ "faces" => get_faces() ]); + break; default: http_response_code(404); echo $twig->render('404.html'); |
