server/core/templates/403.php

18 lines
383 B
PHP
Raw Normal View History

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