Skip to content
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

[6.x] Allow absolute file path for Storage::putFile() #31040

Merged
merged 1 commit into from Jan 6, 2020

Conversation

@SjorsO
Copy link
Contributor

SjorsO commented Jan 6, 2020

My PR from a few weeks ago made it possible to store an absolute file path using Storage::putFileAs(), this PR does the same for Storage::putFile().

There is a StackOverflow question (almost 3 years old, 8000 views) about the error you currently get when you try to store an absolute file path using Storage::putFile().

@taylorotwell taylorotwell merged commit f3c1f48 into laravel:6.x Jan 6, 2020
2 checks passed
2 checks passed
continuous-integration/styleci/pr The analysis has passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@SjorsO SjorsO deleted the SjorsO:storage-absolute-file-path branch Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.