diff --git a/init.php b/init.php index 89b2bda..cb1aaa0 100644 --- a/init.php +++ b/init.php @@ -8,7 +8,7 @@ set_error_handler(function ($level, $message, $file = '', $line = 0) { set_exception_handler(function ($e) { error_log((string) $e); http_response_code(500); - echo '
An error occured.
' . LF; + echo '
An error occured.
' . LF; }); register_shutdown_function(function () { // Also catch fatal errors if (($error = error_get_last()) !== NULL)