You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great package, just found a small gotcha when moving to a shared host. The underlying Google code uses a file based cache that can be problematic if you have permissioning issues writing to the default temporary directory.
I worked around it by changing line 139 \vendor\google\apiclient\src\Google\Config.php to fix a location with write access in my hosting environment:
E.G. CHANGE THIS: 'directory' => sys_get_temp_dir() . '/Google_Client'
TO THIS: 'directory' => 'myThang/Google_Client'
Not elegant but I couldn't figure out how to do it via the wrapper. Adding a way to inject config values would be ace.
Thanks again for a great package, and for your Laravel Twitter wrapper - both getting heavy use by me!
The text was updated successfully, but these errors were encountered:
Great package, just found a small gotcha when moving to a shared host. The underlying Google code uses a file based cache that can be problematic if you have permissioning issues writing to the default temporary directory.
I worked around it by changing line 139 \vendor\google\apiclient\src\Google\Config.php to fix a location with write access in my hosting environment:
E.G. CHANGE THIS: 'directory' => sys_get_temp_dir() . '/Google_Client'
TO THIS: 'directory' => 'myThang/Google_Client'
Not elegant but I couldn't figure out how to do it via the wrapper. Adding a way to inject config values would be ace.
Thanks again for a great package, and for your Laravel Twitter wrapper - both getting heavy use by me!
The text was updated successfully, but these errors were encountered: