diff options
author | Thomas Lange <code@nerdmind.de> | 2017-04-09 17:53:39 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-04-09 17:53:39 +0200 |
commit | da262a32ec4ff009b70059fe78fffadeeb18d4f3 (patch) | |
tree | 7067540050e1de9ea0db67f26c602ecd4e201b40 | |
parent | bc981ca7eb2b8fc7fb65223c99b5b59390040bad (diff) | |
download | blog-da262a32ec4ff009b70059fe78fffadeeb18d4f3.tar.gz blog-da262a32ec4ff009b70059fe78fffadeeb18d4f3.tar.xz blog-da262a32ec4ff009b70059fe78fffadeeb18d4f3.zip |
A meta description on 403 and 404 error pages does not makes sense.
-rw-r--r-- | system/403.php | 7 | ||||
-rw-r--r-- | system/404.php | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/system/403.php b/system/403.php index 46c5198..04f1568 100644 --- a/system/403.php +++ b/system/403.php @@ -12,12 +12,9 @@ if(!defined('ROOT')) { try { $MainTemplate = Template\Factory::build('main'); $MainTemplate->set('NAME', '403 Forbidden'); - $MainTemplate->set('HEAD', [ - 'NAME' => '403 Forbidden', - 'DESC' => "You don't have permission to access {$_SERVER['REQUEST_URI']} on this server." - ]); - + $MainTemplate->set('HEAD', ['NAME' => '403 Forbidden']); $MainTemplate->set('HTML', Template\Factory::build('403')); + echo $MainTemplate; } 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; } |