suppress fopen errors from dav
This commit is contained in:
parent
992f8272d3
commit
5ed4ed2246
@ -265,7 +265,7 @@ class File extends DAV\Node implements DAV\IFile {
|
|||||||
$f = 'store/' . $this->auth->owner_nick . '/' . (($this->os_path) ? $this->os_path . '/' : '') . $x;
|
$f = 'store/' . $this->auth->owner_nick . '/' . (($this->os_path) ? $this->os_path . '/' : '') . $x;
|
||||||
else
|
else
|
||||||
$f = $x;
|
$f = $x;
|
||||||
return fopen($f, 'rb');
|
return @fopen($f, 'rb');
|
||||||
}
|
}
|
||||||
return dbunescbin($r[0]['content']);
|
return dbunescbin($r[0]['content']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user