fix HTML typo
This commit is contained in:
parent
c13555ae3b
commit
eb3a331a2e
1 changed files with 1 additions and 1 deletions
2
init.php
2
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 '<h1>Error</h1><p>An error occured.<p>' . LF;
|
||||
echo '<h1>Error</h1><p>An error occured.</p>' . LF;
|
||||
});
|
||||
register_shutdown_function(function () { // Also catch fatal errors
|
||||
if (($error = error_get_last()) !== NULL)
|
||||
|
|
Loading…
Reference in a new issue