K
Kirby
Guest
Is some scenarios I'd need temp files to be created in a different directory than the default and cleaned up automatically.
It would be relatively easy to override
So the only options (that I can...
Read more
Continue reading...
XF\Util\File
provides almost everything needed to achieve that - except it doesn't allow to override the directory.It would be relatively easy to override
getTempDir
in a child class and use that instead of the original, but unfortunately all methods seem to use self
- so the overriding method would not get called.So the only options (that I can...
Read more
Continue reading...