From 6feb5fe0d45196af4a9b2b058cefdd15f6007522 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 11 Apr 2017 04:10:46 +0200 Subject: Error pages for HTTP status code 403 and 404 moved to another location (preparations for the next commits in which the system directory will be moved to a non-public directory). --- 403.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 403.php (limited to '403.php') diff --git a/403.php b/403.php new file mode 100644 index 0000000..7b6a168 --- /dev/null +++ b/403.php @@ -0,0 +1,32 @@ +set('NAME', '403 Forbidden'); + $MainTemplate->set('HEAD', ['NAME' => '403 Forbidden']); + $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