Skip to content

Conversation

@stoyan0v
Copy link
Contributor

The create archive feature does not work on php's that are compiled with thread safety.

That's because chdir() used in the elFinderVolumeDriver::makeArchive() function
does not change the current directory for the OS, see: https://www.php.net/manual/en/function.chdir.php#refsect1-function.chdir-notes

In order to fix that, the procExec() function can be made to accept an additional
parameter for the $cwd which then can be passed to proc_open().

@nao-pon nao-pon merged commit f6db283 into Studio-42:master Jun 8, 2021
@nao-pon
Copy link
Member

nao-pon commented Jun 8, 2021

@stoyan0v Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants