diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-09-17 22:49:37 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-09-17 22:57:32 +0200 |
commit | 8fc1a9f5a9c6ba1be8ff2ae6f2c693e21183696d (patch) | |
tree | d5e300bfcd4148882ec16c8c7dcaf0477efec980 /lib/private/files.php | |
parent | 7db0d5512910e768912f615cb408677e38735d91 (diff) | |
download | nextcloud-server-8fc1a9f5a9c6ba1be8ff2ae6f2c693e21183696d.tar.gz nextcloud-server-8fc1a9f5a9c6ba1be8ff2ae6f2c693e21183696d.zip |
Make 404 page easier to understand
Fixes https://github.com/owncloud/core/issues/11133
Diffstat (limited to 'lib/private/files.php')
-rw-r--r-- | lib/private/files.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/files.php b/lib/private/files.php index 06fc2dc9109..a983f6f32f5 100644 --- a/lib/private/files.php +++ b/lib/private/files.php @@ -116,7 +116,6 @@ class OC_Files { } elseif (!\OC\Files\Filesystem::file_exists($filename)) { header("HTTP/1.0 404 Not Found"); $tmpl = new OC_Template('', '404', 'guest'); - $tmpl->assign('file', $name); $tmpl->printPage(); } else { header("HTTP/1.0 403 Forbidden"); |