Fix S3 folder creation for new AWS API

This also fixes the unit tests
This commit is contained in:
Vincent Petry 2014-10-22 23:00:30 +02:00
parent 993376fb6f
commit 188effa433
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
$this->connection->putObject(array(
'Bucket' => $this->bucket,
'Key' => $path . '/',
'Body' => '',
'ContentType' => 'httpd/unix-directory'
));
$this->testTimeout();