403.php 330 B

12345678910111213141516
  1. <?php
  2. if(!isset($_)) {//also provide standalone error page
  3. require_once '../../lib/base.php';
  4. $tmpl = new OC_Template( '', '403', 'guest' );
  5. $tmpl->printPage();
  6. exit;
  7. }
  8. ?>
  9. <ul>
  10. <li class='error'>
  11. <?php p($l->t( 'Access forbidden' )); ?><br/>
  12. <p class='hint'><?php if(isset($_['file'])) p($_['file'])?></p>
  13. </li>
  14. </ul>