server/core/templates/404.php

16 lines
332 B
PHP
Raw Normal View History

<?php
if(!isset($_)){//also provide standalone error page
2011-06-23 21:47:46 +00:00
require_once '../../lib/base.php';
2011-07-29 19:36:03 +00:00
$tmpl = new OC_Template( '', '404', 'guest' );
$tmpl->printPage();
exit;
}
?>
2011-08-08 17:50:36 +00: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>