includes/index.php
changeset 1 fe660c52c48f
child 312 6c7060d36a23
equal deleted inserted replaced
0:902822492a68 1:fe660c52c48f
       
     1 <?php
       
     2 
       
     3 $_GET['title'] = 'Enano:Access_denied';
       
     4 require('../includes/common.php');
       
     5 header('HTTP/1.1 403 Forbidden');
       
     6 $session->perms['edit_page'] = AUTH_DENY;
       
     7 $session->perms['view_source'] = AUTH_DENY;
       
     8 $template->tpl_strings['PAGE_NAME'] = 'Access denied';
       
     9 
       
    10 $template->header();
       
    11 echo '<p>The administrator has flagged the page "' . $_SERVER['REQUEST_URI'] . '" so that it cannot be accessed from the web. Perhaps this is because this is a cache or includes directory and only needs to be accessed by scripts.</p><p>HTTP error: 403 Forbidden</p>';
       
    12 $template->footer();
       
    13 $db->close();