nextcloud/core/templates/403.php

16 lines
334 B
PHP
Raw Normal View History

2012-03-25 16:16:39 +04:00
<?php
2012-09-07 17:22:01 +04:00
if(!isset($_)) {//also provide standalone error page
2012-03-25 16:16:39 +04:00
require_once '../../lib/base.php';
$tmpl = new OC_Template( '', '403', 'guest' );
$tmpl->printPage();
exit;
}
?>
<ul>
<li class='error'>
<?php echo $l->t( 'Access forbidden' ); ?><br/>
<p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
</li>
</ul>