aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-23 19:54:32 -0700
committergit-marijus <mario@mariovavti.com>2017-07-27 20:31:27 +0200
commitd623228cf63d0ebb781e14c73776c96eda2d6a63 (patch)
tree17a091038813615b16c3f6d8502c62aef6a2b333
parent75d63684b8c6ee7bd6ef53a1981319f3235ff7dc (diff)
downloadvolse-hubzilla-d623228cf63d0ebb781e14c73776c96eda2d6a63.tar.gz
volse-hubzilla-d623228cf63d0ebb781e14c73776c96eda2d6a63.tar.bz2
volse-hubzilla-d623228cf63d0ebb781e14c73776c96eda2d6a63.zip
suppress fopen errors from dav
-rw-r--r--Zotlabs/Storage/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Storage/File.php b/Zotlabs/Storage/File.php
index 1475241ab..7a102134f 100644
--- a/Zotlabs/Storage/File.php
+++ b/Zotlabs/Storage/File.php
@@ -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;
else
$f = $x;
- return fopen($f, 'rb');
+ return @fopen($f, 'rb');
}
return dbunescbin($r[0]['content']);
}