diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-05-17 14:33:37 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-05-17 14:33:37 -0400 |
commit | b4bf6a8d3a921b22a2bfbfea109da67e9544b946 (patch) | |
tree | 056dc81ea90923876b6b8b9f3ff5bc3fb7986b9f /apps/files_external/lib/google.php | |
parent | 4bb9c4a42ea281af09908649e0e9b9cc5f64b012 (diff) | |
download | nextcloud-server-b4bf6a8d3a921b22a2bfbfea109da67e9544b946.tar.gz nextcloud-server-b4bf6a8d3a921b22a2bfbfea109da67e9544b946.zip |
Include 3rdparty Google Drive SDK 0.6.2
Diffstat (limited to 'apps/files_external/lib/google.php')
-rw-r--r-- | apps/files_external/lib/google.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php index f8675cbe225..df3dc41be27 100644 --- a/apps/files_external/lib/google.php +++ b/apps/files_external/lib/google.php @@ -21,8 +21,10 @@ namespace OC\Files\Storage; -require_once 'google-api-php-client/src/Google_Client.php'; -require_once 'google-api-php-client/src/contrib/Google_DriveService.php'; +set_include_path(get_include_path().PATH_SEPARATOR. + \OC_App::getAppPath('files_external').'/3rdparty/google-api-php-client/src'); +require_once 'Google_Client.php'; +require_once 'contrib/Google_DriveService.php'; class Google extends \OC\Files\Storage\Common { |