aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage/File.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-23 19:54:32 -0700
committerzotlabs <mike@macgirvin.com>2017-07-23 19:54:32 -0700
commit5ed4ed2246233d7e5c0a1136824a94e864420911 (patch)
treec14f290c8d113a19f2059136b91bddd576e96084 /Zotlabs/Storage/File.php
parent992f8272d38b9ee73cc9facbe473665713f6ff2d (diff)
downloadvolse-hubzilla-5ed4ed2246233d7e5c0a1136824a94e864420911.tar.gz
volse-hubzilla-5ed4ed2246233d7e5c0a1136824a94e864420911.tar.bz2
volse-hubzilla-5ed4ed2246233d7e5c0a1136824a94e864420911.zip
suppress fopen errors from dav
Diffstat (limited to 'Zotlabs/Storage/File.php')
-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']);
}