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
|
@ -161,7 +161,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function free_space($path) {
|
public function free_space($path) {
|
||||||
return disk_free_space($this->datadir.$path);
|
return @disk_free_space($this->datadir.$path);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function search($query) {
|
public function search($query) {
|
||||||
|
|
Loading…
Reference in New Issue