summaryrefslogtreecommitdiffstats
path: root/system/404.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-09 17:53:39 +0200
committerThomas Lange <code@nerdmind.de>2017-04-09 17:53:39 +0200
commitda262a32ec4ff009b70059fe78fffadeeb18d4f3 (patch)
tree7067540050e1de9ea0db67f26c602ecd4e201b40 /system/404.php
parentbc981ca7eb2b8fc7fb65223c99b5b59390040bad (diff)
downloadblog-da262a32ec4ff009b70059fe78fffadeeb18d4f3.tar.gz
blog-da262a32ec4ff009b70059fe78fffadeeb18d4f3.tar.xz
blog-da262a32ec4ff009b70059fe78fffadeeb18d4f3.zip
A meta description on 403 and 404 error pages does not makes sense.
Diffstat (limited to 'system/404.php')
-rw-r--r--system/404.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/system/404.php b/system/404.php
index 1553291..53ec9bd 100644
--- a/system/404.php
+++ b/system/404.php
@@ -12,12 +12,9 @@ if(!defined('ROOT')) {
try {
$MainTemplate = Template\Factory::build('main');
$MainTemplate->set('NAME', '404 Not Found');
- $MainTemplate->set('HEAD', [
- 'NAME' => '404 Not Found',
- 'DESC' => "The requested URL {$_SERVER['REQUEST_URI']} was not found on this server."
- ]);
-
+ $MainTemplate->set('HEAD', ['NAME' => '404 Not Found']);
$MainTemplate->set('HTML', Template\Factory::build('404'));
+
echo $MainTemplate;
}