From 52b077a48c743ba4d08ac00520a0bf1ef6deef5f Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 24 Feb 2017 21:27:59 +0100 Subject: Initial commit. --- system/403.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 system/403.php (limited to 'system/403.php') diff --git a/system/403.php b/system/403.php new file mode 100644 index 0000000..08ef44d --- /dev/null +++ b/system/403.php @@ -0,0 +1,29 @@ +set('HEAD', [ + 'NAME' => '403 Forbidden', + 'DESC' => "You don't have permission to access {$_SERVER['REQUEST_URI']} on this server." + ]); + + $MainTemplate->set('HTML', Template\Factory::build('403')); + echo $MainTemplate; +} + +#=============================================================================== +# CATCH: Template\Exception +#=============================================================================== +catch(Template\Exception $Exception) { + $Exception->defaultHandler(); +} +?> \ No newline at end of file -- cgit v1.2.3