diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-06 11:27:13 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-06 11:27:13 -0400 |
commit | 3b2c853916fb75968ae759e54bb61a8095debe7e (patch) | |
tree | a5aecb01d54747e0c249c904ba23405bd37e5c65 /apps/files_sharing/sharedstorage.php | |
parent | 09bb3bfaf8bbc276ff23a2882d5591be542c0139 (diff) | |
download | nextcloud-server-3b2c853916fb75968ae759e54bb61a8095debe7e.tar.gz nextcloud-server-3b2c853916fb75968ae759e54bb61a8095debe7e.zip |
Lots of refactoring to share API
Diffstat (limited to 'apps/files_sharing/sharedstorage.php')
-rw-r--r-- | apps/files_sharing/sharedstorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php index 2071942b062..6e37837aac9 100644 --- a/apps/files_sharing/sharedstorage.php +++ b/apps/files_sharing/sharedstorage.php @@ -38,7 +38,7 @@ class OC_Filestorage_Shared extends OC_Filestorage_Common { * @return Returns array with the keys path and permissions or false if not found */ private function getFile($target) { - $target = $this->sharedFolder.'/'.$target; + $target = '/'.$target; $target = rtrim($target, '/'); if (isset($this->files[$target])) { return $this->files[$target]; |