index.php 346 B

123456789101112
  1. <?php
  2. header('HTTP/1.0 403 Forbidden');
  3. require_once('../../../config.php');
  4. $PAGE->set_url($_SERVER['PHP_SELF']);
  5. $PAGE->set_pagelayout('admin');
  6. $PAGE->set_context(context_system::instance());
  7. echo $OUTPUT->header();
  8. echo $OUTPUT->heading(get_string('error'));
  9. echo '<center>' . get_string('nopermissiontoshow', 'core_error') . '</center>';