@@ 2440-2442 (lines=3) @@ | ||
2437 | if ($srcStat['mime'] == 'directory') { |
|
2438 | $test = $this->stat($this->_joinPath($dst, $name)); |
|
2439 | ||
2440 | if (($test && $test['mime'] != 'directory') || !$this->_mkdir($dst, $name)) { |
|
2441 | return $this->setError(elFinder::ERROR_COPY, $this->_path($src)); |
|
2442 | } |
|
2443 | ||
2444 | $dst = $this->_joinPath($dst, $name); |
|
2445 | ||
@@ 2519-2521 (lines=3) @@ | ||
2516 | if ($source['mime'] == 'directory') { |
|
2517 | $stat = $this->stat($this->_joinPath($destination, $name)); |
|
2518 | $this->clearcache(); |
|
2519 | if ((!$stat || $stat['mime'] != 'directory') && !$this->_mkdir($destination, $name)) { |
|
2520 | return $this->setError(elFinder::ERROR_COPY, $errpath); |
|
2521 | } |
|
2522 | ||
2523 | $path = $this->_joinPath($destination, $name); |
|
2524 |