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

Fix issue #172 with tempnam() throwing an Exception. #219

Closed
wants to merge 1 commit into from

Commits on Dec 18, 2018

  1. Fix issue troydavisson#172 with tempnam() throwing an Exception.

    I have a Homestead server setup on my Windows PC for development and so my temp directory is not "/tmp" and Laravel throws an ErrorException. The `sys_get_temp_dir()` function returns the default path PHP stores temporary files in. So it will still resolve to `"/tmp"` on Linux, but for Windows it will resolve to the correct temp directory.
    BrandonSurowiec authored Dec 18, 2018
    Configuration menu
    Copy the full SHA
    845a244 View commit details
    Browse the repository at this point in the history