diff --git a/src/core/Controller.php b/src/core/Controller.php index e4532f6..911642a 100644 --- a/src/core/Controller.php +++ b/src/core/Controller.php @@ -86,7 +86,7 @@ public function view( if (file_exists($view_file_path)) { include $view_file_path; } else { - include __DIR__ . '/../views/404.php'; + include __DIR__ . '/../views/Error.php'; } $template_content = ob_get_contents(); ob_end_clean();