Google 드라이브 API가 포함 된 symfony2에서 번들을 만들고 있습니다. 나는 Utils 폴더에 클래스를 가지고있다. 인증은 구글의 파일들과 상호 작용한다. (정확하게 그 폴더에 넣는다.) 그리고 나는 그 파일들을 나의 Authentication.php에 포함시키고 싶다.symfony2에 파일 포함하기
나는 다음과 같이 포함 :
require_once 'google-api-php-client/src/Google_Client.php';
require_once 'google-api-php-client/src/contrib/Google_DriveService.php';
require_once 'google-api-php-client/src/contrib/Google_Oauth2Service.php';
그러나 나는이 오류를 얻을 : 당신이 번들을 빌드 할 때
Fatal error:
main()
: Failed opening required 'google-api-php-client\src\Google_Client.php'
@stony이 문제에 대한 아이디어가 더 많습니까? – patricia