|
@@ 1469-1471 (lines=3) @@
|
| 1466 |
|
return $this->setError(elFinder::ERROR_INVALID_NAME); |
| 1467 |
|
} |
| 1468 |
|
|
| 1469 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1470 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1471 |
|
} |
| 1472 |
|
|
| 1473 |
|
$path = $this->decode($dst); |
| 1474 |
|
|
|
@@ 1588-1590 (lines=3) @@
|
| 1585 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
| 1586 |
|
} |
| 1587 |
|
|
| 1588 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1589 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1590 |
|
} |
| 1591 |
|
|
| 1592 |
|
if (!$dir['write']) { |
| 1593 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
|
@@ 1684-1686 (lines=3) @@
|
| 1681 |
|
$name = $file['name']; |
| 1682 |
|
$errpath = $volume->path($file['hash']); |
| 1683 |
|
|
| 1684 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1685 |
|
return $this->setError($err, $errpath, elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1686 |
|
} |
| 1687 |
|
|
| 1688 |
|
if (!$dir['write'] || !$file['read']) { |
| 1689 |
|
return $this->setError($err, $errpath, elFinder::ERROR_PERM_DENIED); |