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

Use system default directory for temporary-files #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maximilian-walter
Copy link

The arguments for tempnam() are not nullable. Use sys_get_temp_dir() to get the default directory for temporary files on the current system.

This is especially important if an open_basedir restriction is in effect (see https://www.php.net/manual/en/function.tempnam.php#93256).

The arguments for tempnam() are not nullable. Use sys_get_temp_dir() to
get the default directory for temporary files on the current system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant