thephpleague / glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.
http://glide.thephpleague.com
MIT License
2.55k stars 198 forks source link

Allow to configure temp directory #304

Closed tgalopin closed 3 years ago

tgalopin commented 3 years ago

Introduce the ability to configure the temporary directory used to store EXIF data. It's an adaptation of @jaapio work in https://github.com/thephpleague/glide/pull/165, thanks for the PR!

Replace https://github.com/thephpleague/glide/pull/165 Fixes https://github.com/thephpleague/glide/issues/156 Fixes https://github.com/thephpleague/glide/issues/186

piotr-cz commented 3 years ago

This looks great, what do you think about adding temp_dir to ServerFactory default options with fallback value of sys_get_temp_dir()?

tgalopin commented 3 years ago

Good idea, I'll do that

piotr-cz commented 3 years ago

Thanks!

piotr-cz commented 3 years ago

It seems that this PR has never been published in any release yet

tgalopin commented 3 years ago

It is released in 2.0 but not in 1.x indeed. I'll release it when I have time (not this week)

piotr-cz commented 3 years ago

Thanks, I've migrated to 2.0