server/core/templates/403.php

18 lines
452 B
PHP
Raw Permalink Normal View History

2012-03-25 12:16:39 +00:00
<?php
// @codeCoverageIgnoreStart
if(!isset($_)) {//standalone page is not supported anymore - redirect to /
2012-03-25 12:16:39 +00:00
require_once '../../lib/base.php';
$urlGenerator = \OC::$server->getURLGenerator();
header('Location: ' . $urlGenerator->getAbsoluteURL('/'));
2012-03-25 12:16:39 +00:00
exit;
}
// @codeCoverageIgnoreEnd
2012-03-25 12:16:39 +00:00
?>
<ul>
<li class='error'>
<?php p($l->t( 'Access forbidden' )); ?><br>
<p class='hint'><?php if(isset($_['message'])) p($_['message'])?></p>
2012-03-25 12:16:39 +00:00
</li>
</ul>