diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-05-18 14:51:25 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-05-18 14:51:25 -0400 |
commit | c41305d46764c0695ac5d0a942c22e56cecac3f0 (patch) | |
tree | 0742a63181ab08bc01813a2b5ec503814e35e511 /apps | |
parent | b4bf6a8d3a921b22a2bfbfea109da67e9544b946 (diff) | |
download | nextcloud-server-c41305d46764c0695ac5d0a942c22e56cecac3f0.tar.gz nextcloud-server-c41305d46764c0695ac5d0a942c22e56cecac3f0.zip |
Fix require_once for 3rdparty in google ajax frontend
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(); |