diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-10-14 07:42:25 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-10-21 15:12:21 +0200 |
commit | 11bedf1c3bc65d70b5601ccfca7cdc3a57a46aa6 (patch) | |
tree | 0e628765755fb1318b61357f3f61a7b6869e6b4b /core/templates | |
parent | 7848d1cab6e0e3a6fb8cd15c4a8cba7147dabab9 (diff) | |
download | nextcloud-server-11bedf1c3bc65d70b5601ccfca7cdc3a57a46aa6.tar.gz nextcloud-server-11bedf1c3bc65d70b5601ccfca7cdc3a57a46aa6.zip |
Use proper error pages instead of always redirecting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/404.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/404.php b/core/templates/404.php index 64595c9a092..fcfc7cc1ef8 100644 --- a/core/templates/404.php +++ b/core/templates/404.php @@ -17,8 +17,8 @@ if (!isset($_)) {//standalone page is not supported anymore - redirect to / <?php else: ?> <div class="body-login-container update"> <div class="icon-big icon-search"></div> - <h2><?php p($l->t('File not found')); ?></h2> - <p class="infogroup"><?php p($l->t('The document could not be found on the server. Maybe the share was deleted or has expired?')); ?></p> + <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><a class="button primary" href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>"> <?php p($l->t('Back to %s', [$theme->getName()])); ?> </a></p> |