nextcloud/core/templates/404.php

16 lines
332 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/>
<p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
</li>
</ul>