summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorhorus2021-03-12 23:33:11 +0100
committerhorus2021-03-12 23:33:11 +0100
commit1730e54d3423a8d0ab3a2bd9791575b59ab399cc (patch)
treebc4e3f8d6360f35f787ee31b9091cc75ec2a6bf0 /public
parent14e75d123ebc16bbefe6d305181eafe3d4df6333 (diff)
downloadmoehring-1730e54d3423a8d0ab3a2bd9791575b59ab399cc.tar.gz
Add faces as submodule
Diffstat (limited to 'public')
-rw-r--r--public/index.php6
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');