Open youngchung68 opened 7 years ago
class gCalendarController extends Controller { protected $client;
public function __construct() { $client = new Google_Client(); $client->setAuthConfig('client_secret.json); ... }
When route:list, File not exist error at setAuthConfig. error detail :[ InvalidArgumentException] file does not exist.
but when put it in setAuthConfig('./public/client_secret.json), no error but can not get api data.
For me better set path without dot, like this setAuthConfig('/public/client_secret.json)
setAuthConfig('/public/client_secret.json)
class gCalendarController extends Controller { protected $client;
When route:list, File not exist error at setAuthConfig. error detail :[ InvalidArgumentException] file does not exist.
but when put it in setAuthConfig('./public/client_secret.json), no error but can not get api data.