diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-06-27 19:44:05 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-06-27 19:44:52 -0400 |
commit | db6139fd4166ff4766ffec5ede0b80d7b8782850 (patch) | |
tree | cb0769ad231c9e0b8906abc763c6e6cf623cc258 | |
parent | 426193cf6cd39ea5422190f7ab45b4435cd5ecf6 (diff) | |
download | nextcloud-server-db6139fd4166ff4766ffec5ede0b80d7b8782850.tar.gz nextcloud-server-db6139fd4166ff4766ffec5ede0b80d7b8782850.zip |
Don't overwrite fake directory stream for Amazon S3 storage
-rw-r--r-- | apps/files_external/lib/amazons3.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php index b8e5b9b079b..9feb490dac0 100644 --- a/apps/files_external/lib/amazons3.php +++ b/apps/files_external/lib/amazons3.php @@ -96,8 +96,8 @@ class OC_Filestorage_AmazonS3 extends OC_Filestorage_Common { foreach ($response->body->CommonPrefixes as $object) { $files[] = basename($object->Prefix); } - OC_FakeDirStream::$dirs['amazons3'] = $files; - return opendir('fakedir://amazons3'); + OC_FakeDirStream::$dirs['amazons3'.$path] = $files; + return opendir('fakedir://amazons3'.$path); } return false; } |