lib/elFinderVolumeDriver.class.php 1 location
|
@@ 4685-4692 (lines=8) @@
|
| 4682 |
|
return $dst; |
| 4683 |
|
} |
| 4684 |
|
|
| 4685 |
|
if ($this->options['copyJoin']) { |
| 4686 |
|
$test = $this->joinPathCE($dst, $name); |
| 4687 |
|
if ($testStat = $this->isNameExists($test)) { |
| 4688 |
|
$this->remove($test); |
| 4689 |
|
} |
| 4690 |
|
} else { |
| 4691 |
|
$testStat = false; |
| 4692 |
|
} |
| 4693 |
|
if ($res = $this->convEncOut($this->_copy($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) { |
| 4694 |
|
$path = is_string($res) ? $res : $this->joinPathCE($dst, $name); |
| 4695 |
|
$this->clearcache(); |
lib/elFinderVolumeOneDrive.class.php 1 location
|
@@ 918-923 (lines=6) @@
|
| 915 |
|
protected function copy($src, $dst, $name) |
| 916 |
|
{ |
| 917 |
|
$itemId = ''; |
| 918 |
|
if ($this->options['copyJoin']) { |
| 919 |
|
$test = $this->joinPathCE($dst, $name); |
| 920 |
|
if ($testStat = $this->isNameExists($test)) { |
| 921 |
|
$this->remove($test); |
| 922 |
|
} |
| 923 |
|
} |
| 924 |
|
|
| 925 |
|
$path = $this->_copy($src, $dst, $name); |
| 926 |
|
|