From: Tim Düsterhus Date: Wed, 5 Apr 2023 14:30:11 +0000 (+0200) Subject: Unify the directory separator for `TMP_DIR` X-Git-Tag: 6.0.0_Alpha_1~291^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a184abd074575f94d073896ce23462407d722253;p=GitHub%2FWoltLab%2FWCF.git Unify the directory separator for `TMP_DIR` see #5370 --- diff --git a/wcfsetup/install/files/lib/util/FileUtil.class.php b/wcfsetup/install/files/lib/util/FileUtil.class.php index 0586d99ada..351a699d2d 100644 --- a/wcfsetup/install/files/lib/util/FileUtil.class.php +++ b/wcfsetup/install/files/lib/util/FileUtil.class.php @@ -39,7 +39,7 @@ final class FileUtil */ public static function getTempFolder(): string { - $path = WCF_DIR . 'tmp/'; + $path = self::unifyDirSeparator(WCF_DIR . 'tmp/'); if (\is_file($path)) { // wat