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