summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-09-08 17:58:59 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-09-08 17:58:59 +0200
commitabc930c57c02f605229d6caa8f5aedef39d7ee76 (patch)
treeb2e89a953061008e097c8b34c3eb389b134e6f67 /lib
parent2b42893fa9e8d564abf47d495558295d2979c0de (diff)
downloadnextcloud-server-abc930c57c02f605229d6caa8f5aedef39d7ee76.tar.gz
nextcloud-server-abc930c57c02f605229d6caa8f5aedef39d7ee76.zip
Suppress error message which would send headers for hosted sited where disk_free_space() has been disabled for security.
Diffstat (limited to 'lib')
-rw-r--r--lib/filestorage/local.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index e26d3d3ef91..80aa548047c 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -161,7 +161,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{
}
public function free_space($path) {
- return disk_free_space($this->datadir.$path);
+ return @disk_free_space($this->datadir.$path);
}
public function search($query) {