Skip to content

Commit

Permalink
Merge pull request #37932 from nextcloud/fix/404-page
Browse files Browse the repository at this point in the history
chore(404): Extend 404 error message to mention possibly missing permissions
  • Loading branch information
marcelklehr authored Apr 26, 2023
2 parents 81e4390 + 73d21c6 commit 32219ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/templates/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<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>
Expand Down

0 comments on commit 32219ec

Please sign in to comment.