@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | */ |
| 255 | 255 | public static function EnsureDirExists(Event $event, $path) { |
| 256 | 256 | if (!is_dir($path)) { |
| 257 | - mkdir($path, 0777, true); |
|
| 257 | + mkdir($path, 0777, TRUE); |
|
| 258 | 258 | if (!is_dir($path)) |
| 259 | 259 | throw new \Exception('Path Not Found: '.$path); |
| 260 | 260 | if ($event->getIO()->isVerbose() === TRUE) |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | */ |
| 272 | 272 | public static function EnsureFileExists(Event $event, $path) { |
| 273 | 273 | if (!is_dir(dirname($path))) { |
| 274 | - mkdir(dirname($path), 0777, true); |
|
| 274 | + mkdir(dirname($path), 0777, TRUE); |
|
| 275 | 275 | touch($path); |
| 276 | 276 | if (!file_exists($path)) |
| 277 | 277 | throw new \Exception('File Not Found: '.$path); |