From 53e6fba37fcaa1ac29e317519ac583bc5c69dc08 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 20 Dec 2013 01:28:04 +0100 Subject: [PATCH] Fixed file permission issue on Windows --- 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 2c7caccea7..02a58f0ddd 100644 --- a/wcfsetup/install/files/lib/util/FileUtil.class.php +++ b/wcfsetup/install/files/lib/util/FileUtil.class.php @@ -508,7 +508,7 @@ final class FileUtil { // php_uname() is forbidden on some strange hosts; PHP_EOL is reliable if (PHP_EOL == "\r\n") { // Windows - self::$mode = 0777; + self::$mode = '0777'; } else { // anything but Windows -- 2.20.1