Remove fallbacks from FileUtil::getTempFolder()
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 27 Jun 2022 10:15:32 +0000 (12:15 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 27 Jun 2022 10:15:32 +0000 (12:15 +0200)
commita1f0967e8552fc73ce038fccf8e1bf618262a2e7
treefd5be8473e503ed12d57e8629d3864d8a92cec08
parent85312a7a1ed1cb1a735385eee1192ac5e0f5a7bd
Remove fallbacks from FileUtil::getTempFolder()

The temporary folder within WCF_DIR is automatically created during WCFSetup
when the `.htaccess` is extracted. Based on how the method's written, it is
exceedingly unlikely that the system's temporary folder is used and it
indicates a severe misconfiguration. Remove the fallback for simplicity.

see e41dfd007b12baed65ab7679fb679e53bcd2adf5
wcfsetup/install/files/lib/util/FileUtil.class.php