diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/ajax/google.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_external/ajax/google.php b/apps/files_external/ajax/google.php index bd5a6099bb3..e63b7cb07b9 100644 --- a/apps/files_external/ajax/google.php +++ b/apps/files_external/ajax/google.php @@ -1,6 +1,7 @@ <?php - -require_once 'google-api-php-client/src/Google_Client.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'; OCP\JSON::checkAppEnabled('files_external'); OCP\JSON::checkLoggedIn(); |