Skip to content
Commit 3a5087cc authored by Lars's avatar Lars Committed by Thomas Müller
Browse files

tempnam accepts a directory as its first parameter, not a full path and filename.

tempnam falls back to creating a file in the system's temp directory. On systems with open_basedir restrictions, this may trigger an error message. By moving this below the checkTemporaryDirectory-loop, tempnam will only be tested if all alternatives fail and the error message is most likely avoided.
parent 05f9b404
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment