diff options
| author | horus | 2021-03-12 23:33:11 +0100 |
|---|---|---|
| committer | horus | 2021-03-12 23:33:11 +0100 |
| commit | 1730e54d3423a8d0ab3a2bd9791575b59ab399cc (patch) | |
| tree | bc4e3f8d6360f35f787ee31b9091cc75ec2a6bf0 /public/index.php | |
| parent | 14e75d123ebc16bbefe6d305181eafe3d4df6333 (diff) | |
| download | moehring-1730e54d3423a8d0ab3a2bd9791575b59ab399cc.tar.gz | |
Add faces as submodule
Diffstat (limited to 'public/index.php')
| -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'); |
