diff --git a/library/Zepto/Zepto.php b/library/Zepto/Zepto.php index 6e6c87e..9507f9f 100644 --- a/library/Zepto/Zepto.php +++ b/library/Zepto/Zepto.php @@ -267,6 +267,10 @@ protected function setup_router() ? $content['meta']['template'] : $container['settings']['zepto']['default_template']; + if ($file === '404') { + header("HTTP/1.0 404 Not Found"); + } + // Render template with Twig echo $twig->render($template_name, $options); });