index.php | ●●●●● patch | view | raw | blame | history |
index.php
@@ -14,7 +14,13 @@ set_exception_handler(function (Throwable $exception) { static $show_errors = false; static $show_errors = true; if($exception instanceof Framework\Exceptions\PageNotFoundException) { http_response_code(404); } else { http_response_code(500); } if($show_errors) { ini_set("display_errors", "1");