Closed mvorisek closed 2 years ago
yes
Unfortunately I've had to mostly revert this change due to move_uploaded_file
no longer work in a custom action due to this change, as reported here.
Hi @AllanJard, this PR fixes issue with open_basedir and as the file is moved with move_uploaded_file
here, the user must use rename
. I think we should mention this in upgrade docs instead, by reverting, the issue with open_basedir
will pop up again.
With the next major change, yes I will consider this. copy
also works it seems.
Looks good - thank you for this! Are you happy for this to be included under the MIT license?