|
@@ -239,8 +239,8 @@ |
|
|
block discarded – undo |
|
239
|
239
|
'to' => new Flysystem(new LocalAdapter($to)), |
|
240
|
240
|
]); |
|
241
|
241
|
foreach ($manager->listContents('from://', true) as $file) { |
|
242
|
|
- if ($file['type'] === 'file' && (!$manager->has('to://'.$file['path']) || $this->force )) { |
|
243
|
|
- $manager->put('to://'.$file['path'], $manager->read('from://'.$file['path'])); |
|
|
242
|
+ if ($file[ 'type' ] === 'file' && (!$manager->has('to://'.$file[ 'path' ]) || $this->force)) { |
|
|
243
|
+ $manager->put('to://'.$file[ 'path' ], $manager->read('from://'.$file[ 'path' ])); |
|
244
|
244
|
} |
|
245
|
245
|
} |
|
246
|
246
|
$this->status($from, $to, 'Directory'); |
Please login to merge, or discard this patch.