404.php 333 B

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