@@ 4663-4665 (lines=3) @@ | ||
4660 | $testStat = $this->isNameExists($this->joinPathCE($dst, $name)); |
|
4661 | $this->clearcache(); |
|
4662 | ||
4663 | if (($testStat && $testStat['mime'] !== 'directory') || (! $testStat && ! $testStat = $this->mkdir($this->encode($dst), $name))) { |
|
4664 | return $this->setError(elFinder::ERROR_COPY, $this->path($srcStat['hash'])); |
|
4665 | } |
|
4666 | ||
4667 | $dst = $this->decode($testStat['hash']); |
|
4668 | ||
@@ 4770-4772 (lines=3) @@ | ||
4767 | $test = $this->isNameExists($this->joinPathCE($destination, $name)); |
|
4768 | $this->clearcache(); |
|
4769 | ||
4770 | if (($test && $test['mime'] != 'directory') || (! $test && ! $test = $this->mkdir($this->encode($destination), $name))) { |
|
4771 | return $this->setError(elFinder::ERROR_COPY, $errpath); |
|
4772 | } |
|
4773 | ||
4774 | //$path = $this->joinPathCE($destination, $name); |
|
4775 | $path = $this->decode($test['hash']); |