Completed
Push — master ( c94f4d...418675 )
by Joe
04:49
created
src/Plugin.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
 	public static function SetfaclPermissionsSetter(Event $event, $path) {
155 155
 		if (!is_dir($path))
156
-			mkdir($path, 0777, true);
156
+			mkdir($path, 0777, TRUE);
157 157
 		if (!is_dir($path))
158 158
 			throw new \Exception('Path Not Found: '.$path);
159 159
 		self::runCommand($event, 'setfacl -m u:"%httpduser%":rwX -m u:$USER:rwX %path%', $path);
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
 	public static function ChmodPermissionsSetter(Event $event, $path) {
164 164
 		if (!is_dir($path))
165
-			mkdir($path, 0777, true);
165
+			mkdir($path, 0777, TRUE);
166 166
 		if (!is_dir($path))
167 167
 			throw new \Exception('Path Not Found: '.$path);
168 168
 		self::runCommand($event, 'chmod +a "%httpduser% allow delete,write,append,file_inherit,directory_inherit" %path%', $path);
Please login to merge, or discard this patch.