Fixed file permission issue on Windows
authorAlexander Ebert <ebert@woltlab.com>
Fri, 20 Dec 2013 00:28:04 +0000 (01:28 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 20 Dec 2013 00:28:04 +0000 (01:28 +0100)
wcfsetup/install/files/lib/util/FileUtil.class.php

index 2c7caccea720245d14cb5d434e4c2dab8a728d56..02a58f0dddb1973e938137942b83cf4fb1694f1b 100644 (file)
@@ -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