зеркало из https://github.com/nextcloud/server.git
18 строки
458 B
PHP
18 строки
458 B
PHP
<?php
|
|
// @codeCoverageIgnoreStart
|
|
if (!isset($_)) {//standalone page is not supported anymore - redirect to /
|
|
require_once '../../lib/base.php';
|
|
|
|
$urlGenerator = \OC::$server->getURLGenerator();
|
|
header('Location: ' . $urlGenerator->getAbsoluteURL('/'));
|
|
exit;
|
|
}
|
|
// @codeCoverageIgnoreEnd
|
|
?>
|
|
<div class="guest-box">
|
|
<h2><?php p($l->t('Access forbidden')); ?></h2>
|
|
<p class='hint'><?php if (isset($_['message'])) {
|
|
p($_['message']);
|
|
}?></p>
|
|
</ul>
|