diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-17 12:38:54 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-21 14:58:01 +0200 |
commit | 19e8c4fcb1726e5935cb3aa9fcf6175999d5a277 (patch) | |
tree | 8b806b6becd668f08f38dadead6464f35bb3cf95 /lib/private/files/stream | |
parent | b0fcf0fa0ee8846e2ba35ede5968ed0227c5675d (diff) | |
download | nextcloud-server-19e8c4fcb1726e5935cb3aa9fcf6175999d5a277.tar.gz nextcloud-server-19e8c4fcb1726e5935cb3aa9fcf6175999d5a277.zip |
get dirname from sharePath
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r-- | lib/private/files/stream/encryption.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php index 2ec15251a23..79493311a43 100644 --- a/lib/private/files/stream/encryption.php +++ b/lib/private/files/stream/encryption.php @@ -232,7 +232,7 @@ class Encryption extends Wrapper { $sharePath = $this->fullPath; if (!$this->storage->file_exists($this->internalPath)) { - $sharePath = dirname($path); + $sharePath = dirname($sharePath); } $accessList = $this->file->getAccessList($sharePath); |