summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-04-26 14:19:48 +0200
committerGitHub <noreply@github.com>2023-04-26 14:19:48 +0200
commit32219ec88044cee5ccfc732d72ba646d26a0db88 (patch)
treeaa9c0b59a2008bdce4652771e3f28cbda1ec11af /core
parent81e4390e32dfffac1191f527d45dc29bc90f9e87 (diff)
parent73d21c6c47bdc1b75f61955695eb2189b75b94a0 (diff)
downloadnextcloud-server-32219ec88044cee5ccfc732d72ba646d26a0db88.tar.gz
nextcloud-server-32219ec88044cee5ccfc732d72ba646d26a0db88.zip
Merge pull request #37932 from nextcloud/fix/404-page
chore(404): Extend 404 error message to mention possibly missing permissions
Diffstat (limited to 'core')
-rw-r--r--core/templates/404.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/404.php b/core/templates/404.php
index fcfc7cc1ef8..4cce2434d64 100644
--- a/core/templates/404.php
+++ b/core/templates/404.php
@@ -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>