|
@@ -26,7 +26,7 @@ discard block |
|
|
block discarded – undo |
|
26
|
26
|
$destination = rtrim($destination, '\/\\'); |
|
27
|
27
|
if (!is_dir($destination)) { |
|
28
|
28
|
$created = mkdir($destination, 0700); |
|
29
|
|
- echo PHP_EOL . ' **** '. __LINE__ . 'Attempted to create: '. $destination. ($created ? 'Y' : 'N').' **** '. PHP_EOL; |
|
|
29
|
+ echo PHP_EOL.' **** '.__LINE__.'Attempted to create: '.$destination.($created ? 'Y' : 'N').' **** '.PHP_EOL; |
|
30
|
30
|
} |
|
31
|
31
|
|
|
32
|
32
|
/** @var \RecursiveDirectoryIterator $directoryIterator */ |
|
@@ -50,7 +50,7 @@ discard block |
|
|
block discarded – undo |
|
50
|
50
|
continue; |
|
51
|
51
|
} |
|
52
|
52
|
$created = mkdir($destination.DIRECTORY_SEPARATOR.$recursiveIteratorIterator->getSubPathName()); |
|
53
|
|
- echo PHP_EOL . ' **** '. __LINE__ . 'Attempted to create: '. $destination. ($created ? 'Y' : 'N').' **** '. PHP_EOL; |
|
|
53
|
+ echo PHP_EOL.' **** '.__LINE__.'Attempted to create: '.$destination.($created ? 'Y' : 'N').' **** '.PHP_EOL; |
|
54
|
54
|
|
|
55
|
55
|
} else { |
|
56
|
56
|
copy($item, $destination.DIRECTORY_SEPARATOR.$recursiveIteratorIterator->getSubPathName()); |
Please login to merge, or discard this patch.