nextcloud/core/templates/404.php

16 lines
346 B
PHP
Raw Normal View History

<?php
if(!isset($_)){//also provide standalone error page
2011-06-24 01:47:46 +04:00
require_once '../../lib/base.php';
2011-07-29 23:36:03 +04:00
$tmpl = new OC_Template( '', '404', 'guest' );
$tmpl->printPage();
exit;
}
?>
2011-08-08 21:50:36 +04:00
<ul>
<li class='error'>
<?php echo $l->t( 'Cloud not found' ); ?><br/>
2012-04-16 14:59:08 +04:00
<p class='hint'><?php if(isset($_['file'])) echo htmlentities($_['file'])?></p>
2011-08-08 21:50:36 +04:00
</li>
</ul>