mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/14448] Correctly pass verify setting if available
PHPBB3-14448
This commit is contained in:
parent
fd9c05309d
commit
8cf086ef9b
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class remote extends base
|
||||||
$guzzle_options = [
|
$guzzle_options = [
|
||||||
'timeout' => $this->upload->upload_timeout,
|
'timeout' => $this->upload->upload_timeout,
|
||||||
'connect_timeout' => $this->upload->upload_timeout,
|
'connect_timeout' => $this->upload->upload_timeout,
|
||||||
'verify' => !empty($this->config['remote_upload_verify']),
|
'verify' => !empty($this->config['remote_upload_verify']) ? (bool) $this->config['remote_upload_verify'] : false,
|
||||||
];
|
];
|
||||||
$client = new \GuzzleHttp\Client($guzzle_options);
|
$client = new \GuzzleHttp\Client($guzzle_options);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue