Open deesouza-ps opened 1 month ago
the main functionality is useDisplayPaths => true
, but:
erikn69/laravel-google-drive-ext-demo/routes/web.php#L44-L48
ivanvermeyen/laravel-google-drive-demo/routes/web.php#L74-L84
Also feel free to open a PR
That is the laravel expected behaivor, this package works independently of Laravel
When useDisplayPaths
is true
should return filename original.
But, when useDisplayPaths
is false
should return filename with the name that the Google give.
Sorry, but am'I wrong?
Sorry, but am'I wrong?
Big yes, laravel handles only display paths, that means it return original filename, check laravel sources
this package works independently of Laravel
and useDisplayPaths = false
is only for emulate old https://github.com/nao-pon/flysystem-google-drive package
If you feel it should work the way you want feel free to open a PR with your changes.
I have this code below. Same the property
useDisplayPaths
withfalse
, on upload return the original filename.Upload