|
@@ 3294-3296 (lines=3) @@
|
| 3291 |
|
if ($srcStat['mime'] == 'directory') { |
| 3292 |
|
$test = $this->stat($this->joinPathCE($dst, $name)); |
| 3293 |
|
|
| 3294 |
|
if (($test && $test['mime'] != 'directory') || $this->convEncOut(!$this->_mkdir($this->convEncIn($dst), $this->convEncIn($name)))) { |
| 3295 |
|
return $this->setError(elFinder::ERROR_COPY, $this->path($srcStat['hash'])); |
| 3296 |
|
} |
| 3297 |
|
|
| 3298 |
|
$dst = $this->joinPathCE($dst, $name); |
| 3299 |
|
|
|
@@ 3373-3375 (lines=3) @@
|
| 3370 |
|
if ($source['mime'] == 'directory') { |
| 3371 |
|
$stat = $this->stat($this->joinPathCE($destination, $name)); |
| 3372 |
|
$this->clearcache(); |
| 3373 |
|
if ((!$stat || $stat['mime'] != 'directory') && $this->convEncOut(!$this->_mkdir($this->convEncIn($destination), $this->convEncIn($name)))) { |
| 3374 |
|
return $this->setError(elFinder::ERROR_COPY, $errpath); |
| 3375 |
|
} |
| 3376 |
|
|
| 3377 |
|
$path = $this->joinPathCE($destination, $name); |
| 3378 |
|
|