diff --git a/index.php b/index.php index bee5f0e..441d62d 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,17 @@ 'twig_cache', + ]); + echo $twig->render('404.twig', ['path' => $_SERVER["REQUEST_URI"]]); +} \ No newline at end of file diff --git a/templates/404.twig b/templates/404.twig new file mode 100644 index 0000000..f0b30e9 --- /dev/null +++ b/templates/404.twig @@ -0,0 +1,12 @@ + + + +Page Title + + + +

404 Uri {{ path }} not found

+

/metrics

+ + \ No newline at end of file