From a184abd074575f94d073896ce23462407d722253 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 5 Apr 2023 16:30:11 +0200 Subject: [PATCH] Unify the directory separator for `TMP_DIR` see #5370 --- wcfsetup/install/files/lib/util/FileUtil.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1