Fix cert bundle path
This commit is contained in:
parent
4635ed7748
commit
c031eafd84
|
@ -444,7 +444,7 @@ class Google extends \OC\Files\Storage\Common {
|
||||||
$response = $client->get($downloadUrl, [
|
$response = $client->get($downloadUrl, [
|
||||||
'headers' => $httpRequest->getRequestHeaders(),
|
'headers' => $httpRequest->getRequestHeaders(),
|
||||||
'stream' => true,
|
'stream' => true,
|
||||||
'verify' => __DIR__ . '/../../3rdparty/google-api-php-client/src/Google/IO/cacerts.pem',
|
'verify' => realpath(__DIR__ . '/../../../3rdparty/google-api-php-client/src/Google/IO/cacerts.pem'),
|
||||||
]);
|
]);
|
||||||
} catch (RequestException $e) {
|
} catch (RequestException $e) {
|
||||||
if(!is_null($e->getResponse())) {
|
if(!is_null($e->getResponse())) {
|
||||||
|
|
Loading…
Reference in New Issue