sspks
sspks copied to clipboard
Allow to override /tmp
For some obscure reasons, when the cache directory is set to a /tmp
subdirectory, the move fails when parsing packages:
[Mon Aug 16 11:28:34.237121 2021] [php7:warn] [pid 52168] [client x.x.x.x:35371] PHP Warning: rename(/tmp/PACKAGE_ICON.PNG,/tmp/cache/sspks/xxx-9.0.14924.1615beta_thumb_72.png): No such file or directory in /xxx/content/20210816T110645/lib/sspks/lib/SSpkS/Package/Package.php on line 217
It seems that private tmp
only works partially?
The simplest option is probably to always use the cache directory or maybe the /dev/shm
Relates to #68