updated 404 page
This commit is contained in:
parent
dca2556bca
commit
8190b5ed71
@ -1 +1,14 @@
|
||||
<h1>This is 404</h1>
|
||||
<?php
|
||||
|
||||
// Define our status code and message
|
||||
$status_code = 404;
|
||||
$status_message = 'The requested resource could not be found.';
|
||||
|
||||
// Set the HTTP response code and message
|
||||
http_response_code($status_code);
|
||||
header("Content-Type: text/html");
|
||||
?>
|
||||
|
||||
<h1>Error 404 Resource Not found</h1>
|
||||
<p><?php echo $status_message; ?></p>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user