Fix require_once for 3rdparty in google ajax frontend

This commit is contained in:
Michael Gapczynski 2013-05-18 14:51:25 -04:00
parent b4bf6a8d3a
commit c41305d467

View file

@ -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();