]> source.dussan.org Git - nextcloud-server.git/commitdiff
chore(404): Extend 404 error message to mention possibly missing permissions 37932/head
authorMarcel Klehr <mklehr@gmx.net>
Wed, 26 Apr 2023 09:21:56 +0000 (11:21 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 26 Apr 2023 09:21:56 +0000 (11:21 +0200)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
core/templates/404.php

index fcfc7cc1ef8bb9ebabfb7ad77001b1a2662c520c..4cce2434d64a9ac8f146e9a4a688f1e05a977121 100644 (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>