Close tags :)
This commit is contained in:
parent
c890421454
commit
69f16b72ac
|
@ -17,10 +17,10 @@ require "pages.php";
|
||||||
|
|
||||||
function userError($msg) {
|
function userError($msg) {
|
||||||
http_response_code(422);
|
http_response_code(422);
|
||||||
exit("<strong>User error<strong>: The server refused to process this request: <em>" . $msg . "</em>");
|
exit("<strong>User error</strong>: The server refused to process this request: <em>" . $msg . "</em>");
|
||||||
}
|
}
|
||||||
|
|
||||||
function serverError($msg) {
|
function serverError($msg) {
|
||||||
http_response_code(500);
|
http_response_code(500);
|
||||||
exit("<strong>Server error<strong>: The server encountered an error: <em>" . $msg . "</em>");
|
exit("<strong>Server error</strong>: The server encountered an error: <em>" . $msg . "</em>");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue