You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

403.php 639B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. // @codeCoverageIgnoreStart
  8. if (!isset($_)) {//standalone page is not supported anymore - redirect to /
  9. require_once '../../lib/base.php';
  10. $urlGenerator = \OC::$server->getURLGenerator();
  11. header('Location: ' . $urlGenerator->getAbsoluteURL('/'));
  12. exit;
  13. }
  14. // @codeCoverageIgnoreEnd
  15. ?>
  16. <div class="guest-box">
  17. <h2><?php p($l->t('Access forbidden')); ?></h2>
  18. <p class='hint'><?php if (isset($_['message'])) {
  19. p($_['message']);
  20. }?></p>
  21. </ul>