Suppress error message which would send headers for hosted sited where disk_free_space() has been disabled for security.

This commit is contained in:
Thomas Tanghus 2012-09-08 17:58:59 +02:00
parent 2b42893fa9
commit abc930c57c
1 changed files with 1 additions and 1 deletions

View File

@ -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) {