403.php 383 B

1234567891011121314151617
  1. <?php
  2. // @codeCoverageIgnoreStart
  3. if(!isset($_)) {//also provide standalone error page
  4. require_once '../../lib/base.php';
  5. $tmpl = new OC_Template( '', '403', 'guest' );
  6. $tmpl->printPage();
  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($_['file'])) p($_['file'])?></p>
  15. </li>
  16. </ul>