-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scoped filesystem driver not compatible #16
Comments
Hey, thanks for the report. Is the error you are getting like: I got the above error when trying it myself with: I updated the library to support omitting the leading slash. The fix is in v1.0.7. |
Thank you for your reply @rolandstarke I currently have this and it works: to sort it all out I'm implementing filesystems with scope, and here's the scope I'm using:
So here is the new code, I get the error, however::
I tried as you say, with the slash in front, but I keep getting the error:
I believe that he has problems using the scoped filesystem |
I believe the issue could be that in
|
I was not happy with the fix in v1.0.7. I released v1.0.8. You would need to update your
|
Thank you very much, the files are now read correctly. Just a small note though: in allowedSources
It would be really nice if it read data from filesystems.php instead of having to indicate routes. anyway great job, definitely the best thumbnail package |
Thanks for the feedback. Allowing every disk from the filesystems.php would simplify the usage of the library. So that you don't need to fiddle around with the allowedSources settings. I am not sure if users rely on the security to list every disk they want to load images from. |
Scopes are not compatible, you get an error that it does not have permission to access the file.
laravel/framework#44105
The text was updated successfully, but these errors were encountered: