From c5e03a48f9c31d19270e92e670395d7e7911bf17 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 26 Feb 2017 05:01:57 +0100 Subject: Added different template parameter for the case that the page is displayed in the administration area. --- system/404.php | 1 + 1 file changed, 1 insertion(+) (limited to 'system/404.php') diff --git a/system/404.php b/system/404.php index a92e9d6..1553291 100644 --- a/system/404.php +++ b/system/404.php @@ -11,6 +11,7 @@ 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." -- cgit v1.2.3