Use proper path

Fixes https://github.com/owncloud/core/issues/24407
This commit is contained in:
Lukas Reschke 2016-05-03 14:37:50 +02:00
parent df2eb96cc4
commit 0d8393178b
No known key found for this signature in database
GPG Key ID: 9AB0ADB949B6898C
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,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' => __DIR__ . '/../../3rdparty/google-api-php-client/src/Google/IO/cacerts.pem',
]);
} catch (RequestException $e) {
if(!is_null($e->getResponse())) {