Fix require_once for 3rdparty in google ajax frontend
This commit is contained in:
parent
b4bf6a8d3a
commit
c41305d467
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue