From d0be9d3b23ee980fde94e1a8130ddfa070ee4dba Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 5 Jan 2014 17:28:19 -0800 Subject: [PATCH] dav uploading actually works - there's just an issue with the AnyClient running through a proxy. There are probably still some issues with tree structure, but you should be able to use your personal cloud in your top level storage directory now. --- include/reddav.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/reddav.php b/include/reddav.php index 1e2962972..f5298884a 100644 --- a/include/reddav.php +++ b/include/reddav.php @@ -156,7 +156,7 @@ class RedDirectory extends DAV\Node implements DAV\ICollection { logger('RedDirectory::createFile : ' . $name); logger('RedDirectory::createFile : ' . print_r($this,true)); - logger('createFile():' . stream_get_contents($data)); +// logger('createFile():' . stream_get_contents($data)); if(! perm_is_allowed($this->auth->channel_id,$this->auth->observer,'write_storage')) { @@ -354,7 +354,7 @@ class RedFile extends DAV\Node implements DAV\IFile { function put($data) { logger('RedFile::put: ' . basename($this->name)); - logger('put():' . stream_get_contents($data)); +// logger('put():' . stream_get_contents($data)); dbg(1); $r = q("update attach set data = '%s' where hash = '%s' and uid = %d limit 1",