server/core/templates/404.php

16 lines
333 B
PHP
Raw Normal View History

<?php
2012-09-07 13:22:01 +00:00
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/>
2012-06-11 17:20:48 +00:00
<p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
2011-08-08 17:50:36 +00:00
</li>
</ul>