소스 검색

fix HTML typo

Miraty 1 년 전
부모
커밋
eb3a331a2e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      init.php

+ 1 - 1
init.php

@@ -8,7 +8,7 @@ set_error_handler(function ($level, $message, $file = '', $line = 0) {
 set_exception_handler(function ($e) {
 set_exception_handler(function ($e) {
 	error_log((string) $e);
 	error_log((string) $e);
 	http_response_code(500);
 	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
 register_shutdown_function(function () { // Also catch fatal errors
 	if (($error = error_get_last()) !== NULL)
 	if (($error = error_get_last()) !== NULL)