Extending XF\Util\File is difficult

K

Kirby

Guest
Member
Is some scenarios I'd need temp files to be created in a different directory than the default and cleaned up automatically.

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
Extending XF\Util\File is difficult

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
BlackSpigot General Chat
Rules Help Users
    K @ kamikazeLTU: I have liteccoin, do owners accept it for spigotvip?
    Top