decir/index.php
author Dan
Tue, 13 Nov 2007 22:30:19 -0500
changeset 8 850e1b1209a9
parent 0 0417a5a0c7be
permissions -rw-r--r--
Fix a few typos in reorder.js
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();