summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-05-24 13:44:43 +0200
committerRobin Appelman <icewind@owncloud.com>2016-05-24 13:44:43 +0200
commitc031eafd84a70d3308a5d25ecdc350709c46c5d2 (patch)
tree3f64ed20c55ac5cc7500d3b229d95f2c30295fdb /apps/files_external/lib
parent4635ed7748d62ac880ef93f68a58f2663bb1c165 (diff)
downloadnextcloud-server-c031eafd84a70d3308a5d25ecdc350709c46c5d2.tar.gz
nextcloud-server-c031eafd84a70d3308a5d25ecdc350709c46c5d2.zip
Fix cert bundle path
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/Lib/Storage/Google.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/Google.php b/apps/files_external/lib/Lib/Storage/Google.php
index 1fe96efcbfe..9dd58eeb81c 100644
--- a/apps/files_external/lib/Lib/Storage/Google.php
+++ b/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())) {