]> source.dussan.org Git - nextcloud-server.git/commit
Use the correct resolve method to resolve file storage
authorVincent Petry <pvince81@owncloud.com>
Wed, 26 Mar 2014 17:14:35 +0000 (18:14 +0100)
committerVincent Petry <pvince81@owncloud.com>
Wed, 26 Mar 2014 17:14:35 +0000 (18:14 +0100)
commitb48510c978810a485f3ab72b28ec1c32350a6332
tree6958959f4ce70ff6c06b4a68521655fc802fd188
parentd57bb70b032b7a55fa8935300df611142f86c726
Use the correct resolve method to resolve file storage

When detecting whether the file to be downloaded is on external storage,
the correct path needs to be used.

It turns out that \OC\Files\View is needed to resolve the path correctly
relative to the user's home.
lib/private/files.php