liam-linux-account-manager/views/error403.php

13 lines
343 B
PHP
Raw Permalink Normal View History

2021-11-16 15:11:32 +01:00
<?php
$content = new PageSection('error403');
$content->set('address', $relative_request_url);
$content->set('fulladdress', $absolute_request_url);
$page = new PageSection('base');
$page->set('title', 'Access denied');
$page->set('content', $content);
$page->set('alerts', array());
header('HTTP/1.1 403 Forbidden');
echo $page->generate();