#44999swiftmailer using sys_get_temp_dir
Description
swiftmailer using sys_get_temp_dir to get the /tmp directory. This will return /tmp at my host but it will be something like /home/.sites/123/site132/tmp
A comment on PHP site:
> … This behaviour is inconsistent across systems, so you have keep an eye on it.
> This function does not account for virtualhost-specific modifications to the temp path and/or open_basedir:
http://php.net/sys_get_temp_dir
A solution will be to change the file typo3/contrib/swiftmailer/preferences.php and use ini_get('upload_tmp_dir') instead of sys_get_temp_dir()
or making a fall back of both.
Thanks!
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.