diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-03-03 13:57:08 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-03-03 13:57:08 +0100 |
commit | fe994669cdec336f6c4a3e724a9d468fd8f69dfe (patch) | |
tree | 59285826d6fb766074ec089c71b290e31262985f /lib/private/connector/sabre/directory.php | |
parent | 9231195c98b5fc709903e8a0b639b882aa3f9ec8 (diff) | |
download | nextcloud-server-fe994669cdec336f6c4a3e724a9d468fd8f69dfe.tar.gz nextcloud-server-fe994669cdec336f6c4a3e724a9d468fd8f69dfe.zip |
Make path for dummy fileinfo absolute
Diffstat (limited to 'lib/private/connector/sabre/directory.php')
-rw-r--r-- | lib/private/connector/sabre/directory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/directory.php b/lib/private/connector/sabre/directory.php index 619aec21eac..641354e763b 100644 --- a/lib/private/connector/sabre/directory.php +++ b/lib/private/connector/sabre/directory.php @@ -72,7 +72,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa } } - $path = $this->path . '/' . $name; + $path = $this->fileView->getAbsolutePath($this->path) . '/' . $name; // using a dummy FileInfo is acceptable here since it will be refreshed after the put is complete $info = new \OC\Files\FileInfo($path, null, null, array()); $node = new OC_Connector_Sabre_File($this->fileView, $info); |