403.php 458 B

12345678910111213141516171819
  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. <ul>
  12. <li class='error'>
  13. <?php p($l->t('Access forbidden')); ?><br>
  14. <p class='hint'><?php if (isset($_['message'])) {
  15. p($_['message']);
  16. }?></p>
  17. </li>
  18. </ul>