aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/403.php7
-rw-r--r--system/404.php7
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;
}