@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | |
156 | 156 | public static function SetfaclPermissionsSetter(Event $event, $http_user, $path) { |
157 | 157 | if (!is_dir($path)) |
158 | - mkdir($path, 0777, true); |
|
158 | + mkdir($path, 0777, TRUE); |
|
159 | 159 | if (!is_dir($path)) |
160 | 160 | throw new \Exception('Path Not Found: '.$path); |
161 | 161 | self::runProcess($event, 'setfacl -m u:"'.$http_user.'":rwX -m u:'.$_SERVER['USER'].':rwX '.$path); |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | public static function ChmodPermissionsSetter(Event $event, $http_user, $path) { |
166 | 166 | if (!is_dir($path)) |
167 | - mkdir($path, 0777, true); |
|
167 | + mkdir($path, 0777, TRUE); |
|
168 | 168 | if (!is_dir($path)) |
169 | 169 | throw new \Exception('Path Not Found: '.$path); |
170 | 170 | self::runProcess($event, 'chmod +a "'.$http_user.' allow delete,write,append,file_inherit,directory_inherit" '.$path); |