Skip to content

Commit c8ef553

Browse files
authored
Merge pull request Vinelab#97 from marcaube/fix-undefined-index-http
Fix "'Undefined index: http' in AwsS3Provider.php:140"
2 parents 802dfae + cc3b40d commit c8ef553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vinelab/Cdn/Providers/AwsS3Provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function init($configurations)
126126
{
127127
// merge the received config array with the default configurations array to
128128
// fill missed keys with null or default values.
129-
$this->default = array_merge($this->default, $configurations);
129+
$this->default = array_replace_recursive($this->default, $configurations);
130130

131131
$supplier = [
132132
'provider_url' => $this->default['url'],

0 commit comments

Comments
 (0)