Fix cert bundle path

This commit is contained in:
Robin Appelman 2016-05-24 13:44:43 +02:00
parent 4635ed7748
commit c031eafd84
1 changed files with 1 additions and 1 deletions

View File

@ -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())) {