therefore, I’m trying to enable Google service in Google Analytics, but I can’t access it through the Vendor folder. include(app_path.'path/to/analytics/Google_YoutubeAnalyticsService.php')does not work because the application folder is used by default. How can I exit the App folder and the Vendor folder where the YouTube Analytics file is located. Scrapped error: include(C:\xampp\htdocs\mysite\app/path/to/analytics/Google_YoutubeAnalyticsService.php): failed to open stream: No such file or directory. You must exit this application folder. Thanks for any help!
include(app_path.'path/to/analytics/Google_YoutubeAnalyticsService.php')
include(C:\xampp\htdocs\mysite\app/path/to/analytics/Google_YoutubeAnalyticsService.php): failed to open stream: No such file or directory
Where do you want to include this file?
Put a link to your file in the composite .json startup object:
"autoload": { "files":["your_file_path"] }
Run the dumpautoload composer and you will have a file :)
, base_path ,
echo base_path() . '/vendor';
.
Laravel
, laravel, ( 4.2).
Source: https://habr.com/ru/post/1526116/More articles:get key from dictionary inside dictionary - pythonПолучить значения каскадных значений переключателя - javascriptThe difference between subscribing to Facebook / Google / etc and logging in using Facebook / Google / etc. - facebookWhat is the use of CoordinationType in JPA? - javaYou cannot use min_element () correctly - c ++How to verify that Collections.insert () is successfully inserted or not in Meteor? - collectionsHow to run a "single test case" in XCTest? - iosincrease skipper level - compile-time error - c ++Re-start mechanism for optimistic locking (spring data + JPA) - javaИсключение из исключения блокировки спящего режима - javaAll Articles