403.php 458 B

1234567891011121314151617
  1. <?php
  2. // @codeCoverageIgnoreStart
  3. if (!isset($_)) {//standalone page is not supported anymore - redirect to /
  4. require_once '../../lib/base.php';
  5. $urlGenerator = \OC::$server->getURLGenerator();
  6. header('Location: ' . $urlGenerator->getAbsoluteURL('/'));
  7. exit;
  8. }
  9. // @codeCoverageIgnoreEnd
  10. ?>
  11. <div class="guest-box">
  12. <h2><?php p($l->t('Access forbidden')); ?></h2>
  13. <p class='hint'><?php if (isset($_['message'])) {
  14. p($_['message']);
  15. }?></p>
  16. </ul>