You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if there is a way to provide an alternative path for temporary files. Using sys_get_temp_dir() can be problematic for users in environments with restrictions that prevent them writing to system directories. Specifically, line 84 in CurlDispatcher.php:
Thanks very much for your responsiveness.
I just noticed that embed 4.0 requires PHP 7.4+. My Drupal dev environment only supports up to 7.3 at the moment -- as soon as I can bump it to 7.4, I'll give this a test. Apologies for the delay.
Fantastic library - thank you!
I'm wondering if there is a way to provide an alternative path for temporary files. Using sys_get_temp_dir() can be problematic for users in environments with restrictions that prevent them writing to system directories. Specifically, line 84 in CurlDispatcher.php:
$cookies = str_replace('//', '/', sys_get_temp_dir().'/embed-cookies.txt');
In our case, Drupal maintains it's own temporary directory that can be different from the one returned by sys_get_temp_dir().
The text was updated successfully, but these errors were encountered: