Skip to content

Commit

Permalink
region & signature S3 configuration parameters needed
Browse files Browse the repository at this point in the history
  • Loading branch information
bonswouar committed Jul 15, 2015
1 parent 1292ed2 commit a8691f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Configuration/ElFinderConfigurationReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ private function configureDriver(array $parameter)
$settings['secretkey'] = $parameter['s3_settings']['secret_key'];
$settings['bucket'] = $parameter['s3_settings']['bucket'];
$settings['tmpPath'] = $parameter['s3_settings']['tmp_path'];
$settings['signature'] = $parameter['s3_settings']['signature'];
$settings['region'] = $parameter['s3_settings']['region'];
break;
default:
break;
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ public function getConfigTreeBuilder()
->scalarNode('secret_key')->end()
->scalarNode('bucket')->end()
->scalarNode('tmp_path')->end()
->scalarNode('signature')->end()
->scalarNode('region')->end()
->end()
->end()
->end()
Expand Down

0 comments on commit a8691f8

Please sign in to comment.