Suppress error message which would send headers for hosted sited where disk_free_space() has been disabled for security.
This commit is contained in:
parent
2b42893fa9
commit
abc930c57c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue