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, [
|
||||
'headers' => $httpRequest->getRequestHeaders(),
|
||||
'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) {
|
||||
if(!is_null($e->getResponse())) {
|
||||
|
|
Loading…
Reference in New Issue