@@ 3407-3409 (lines=3) @@ | ||
3404 | if ($srcStat['mime'] == 'directory') { |
|
3405 | $test = $this->stat($this->joinPathCE($dst, $name)); |
|
3406 | ||
3407 | if (($test && $test['mime'] != 'directory') || $this->convEncOut(!$this->_mkdir($this->convEncIn($dst), $this->convEncIn($name)))) { |
|
3408 | return $this->setError(elFinder::ERROR_COPY, $this->path($srcStat['hash'])); |
|
3409 | } |
|
3410 | ||
3411 | $dst = $this->joinPathCE($dst, $name); |
|
3412 | ||
@@ 3486-3488 (lines=3) @@ | ||
3483 | if ($source['mime'] == 'directory') { |
|
3484 | $stat = $this->stat($this->joinPathCE($destination, $name)); |
|
3485 | $this->clearcache(); |
|
3486 | if ((!$stat || $stat['mime'] != 'directory') && $this->convEncOut(!$this->_mkdir($this->convEncIn($destination), $this->convEncIn($name)))) { |
|
3487 | return $this->setError(elFinder::ERROR_COPY, $errpath); |
|
3488 | } |
|
3489 | ||
3490 | $path = $this->joinPathCE($destination, $name); |
|
3491 |