Merge pull request #37932 from nextcloud/fix/404-page

chore(404): Extend 404 error message to mention possibly missing permissions
This commit is contained in:
Marcel Klehr 2023-04-26 14:19:48 +02:00 committed by GitHub
commit 32219ec880
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ if (!isset($_)) {//standalone page is not supported anymore - redirect to /
<div class="body-login-container update">
<div class="icon-big icon-search"></div>
<h2><?php p($l->t('Page not found')); ?></h2>
<p class="infogroup"><?php p($l->t('The page could not be found on the server.')); ?></p>
<p class="infogroup"><?php p($l->t('The page could not be found on the server or you may not be allowed to view it.')); ?></p>
<p><a class="button primary" href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>">
<?php p($l->t('Back to %s', [$theme->getName()])); ?>
</a></p>