decir/index.php
author Dan
Wed, 24 Oct 2007 18:30:03 -0400
changeset 5 6eea55374f5b
parent 0 0417a5a0c7be
permissions -rw-r--r--
Merging in some changes from Nighthawk
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     1
<?php
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     2
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     3
$_GET['title'] = 'Enano:Access_denied';
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     4
require('../includes/common.php');
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     5
header('HTTP/1.1 403 Forbidden');
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     6
$session->perms['edit_page'] = AUTH_DENY;
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     7
$session->perms['view_source'] = AUTH_DENY;
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     8
$template->tpl_strings['PAGE_NAME'] = 'Access denied';
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     9
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    10
$template->header();
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    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>';
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    12
$template->footer();
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    13
$db->close();