index.php 355 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. print $OUTPUT->header();
  8. print $OUTPUT->heading(get_string('error'));
  9. print '<center>' . get_string('nopermissiontoshow', 'core_error') . '</center>';