2012-03-25 08:16:39 -04:00
|
|
|
<?php
|
2024-05-27 04:08:53 -04:00
|
|
|
/**
|
|
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
*/
|
2016-04-12 06:49:11 -04:00
|
|
|
// @codeCoverageIgnoreStart
|
2017-07-26 10:30:09 -04:00
|
|
|
if (!isset($_)) {//standalone page is not supported anymore - redirect to /
|
2012-03-25 08:16:39 -04:00
|
|
|
require_once '../../lib/base.php';
|
2017-07-26 10:30:09 -04:00
|
|
|
|
|
|
|
|
$urlGenerator = \OC::$server->getURLGenerator();
|
|
|
|
|
header('Location: ' . $urlGenerator->getAbsoluteURL('/'));
|
2012-03-25 08:16:39 -04:00
|
|
|
exit;
|
|
|
|
|
}
|
2016-04-12 06:49:11 -04:00
|
|
|
// @codeCoverageIgnoreEnd
|
2012-03-25 08:16:39 -04:00
|
|
|
?>
|
2022-07-18 11:58:05 -04:00
|
|
|
<div class="guest-box">
|
|
|
|
|
<h2><?php p($l->t('Access forbidden')); ?></h2>
|
2018-08-09 08:27:20 -04:00
|
|
|
<p class='hint'><?php if (isset($_['message'])) {
|
2023-01-20 05:45:08 -05:00
|
|
|
p($_['message']);
|
|
|
|
|
}?></p>
|
2012-03-25 08:16:39 -04:00
|
|
|
</ul>
|