diff options
Diffstat (limited to 'public/app/views/error')
| -rw-r--r-- | public/app/views/error/404.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/public/app/views/error/404.php b/public/app/views/error/404.php index a085830..41f17da 100644 --- a/public/app/views/error/404.php +++ b/public/app/views/error/404.php @@ -7,7 +7,6 @@ * * optional @var $error_code (int) : error code * optional @var $moto (string) : super-mini description text - * optional @var $message (string) * */ @@ -15,14 +14,14 @@ $error_code = 404; // set default (404) } - http_response_code(403); + http_response_code($error_code); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> - <title>404: Not Found</title> + <title><?=$error_code?> : <?= $moto ?? 'Not found' ?></title> <style> html,body{ @@ -52,13 +51,10 @@ <body> <div class='container'> <div class='content'> + <h3><?=$error_code?></h3> <?= $moto ?? 'Not found' ?><br /> - <!-- - — - <br /> - <span><?= $message ?? "and I still haven't found what I'm looking for." ?></span> - --> + </div> </div> </body> |
