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

remotes/origin/stable45
Thomas Tanghus 14 years ago
parent 2b42893fa9
commit abc930c57c
  1. 2
      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) {

Loading…
Cancel
Save