From: Alexander Ebert Date: Fri, 20 Dec 2013 00:28:04 +0000 (+0100) Subject: Fixed file permission issue on Windows X-Git-Tag: 2.0.1~32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=53e6fba37fcaa1ac29e317519ac583bc5c69dc08;p=GitHub%2FWoltLab%2FWCF.git Fixed file permission issue on Windows --- 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