aboutsummaryrefslogtreecommitdiffstats
path: root/include/reddav.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-05 17:28:19 -0800
committerfriendica <info@friendica.com>2014-01-05 17:28:19 -0800
commitd0be9d3b23ee980fde94e1a8130ddfa070ee4dba (patch)
tree7f6908a1b73f031c8a1cf36f1a49c079fc6c0503 /include/reddav.php
parent24450fe8efd856c66c85031c8e99928e50445045 (diff)
downloadvolse-hubzilla-d0be9d3b23ee980fde94e1a8130ddfa070ee4dba.tar.gz
volse-hubzilla-d0be9d3b23ee980fde94e1a8130ddfa070ee4dba.tar.bz2
volse-hubzilla-d0be9d3b23ee980fde94e1a8130ddfa070ee4dba.zip
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.
Diffstat (limited to 'include/reddav.php')
-rw-r--r--include/reddav.php4
1 files 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",