0
+ − 1
<?php
+ − 2
/*
+ − 3
Plugin Name:
+ − 4
Plugin URI:
+ − 5
Description:
+ − 6
Author:
+ − 7
Version:
+ − 8
Author URI:
+ − 9
*/
+ − 10
+ − 11
$_GET['title'] = 'Enano:Access_denied';
+ − 12
require('../includes/common.php');
+ − 13
header('HTTP/1.1 403 Forbidden');
+ − 14
$session->perms['edit_page'] = AUTH_DENY;
+ − 15
$session->perms['view_source'] = AUTH_DENY;
+ − 16
$template->tpl_strings['PAGE_NAME'] = 'Access denied';
+ − 17
+ − 18
$template->header();
+ − 19
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>';
+ − 20
$template->footer();
+ − 21
$db->close();