Browse Source

Fix cert bundle path

remotes/origin/pre902-webupdate-encryption-repair
Robin Appelman 10 years ago
parent
commit
c031eafd84
  1. 2
      apps/files_external/lib/Lib/Storage/Google.php

2
apps/files_external/lib/Lib/Storage/Google.php

@ -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…
Cancel
Save