@@ 1550-1552 (lines=3) @@ | ||
1547 | return $this->setError(elFinder::ERROR_INVALID_NAME); |
|
1548 | } |
|
1549 | ||
1550 | if (($dir = $this->dir($dst)) == false) { |
|
1551 | return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
|
1552 | } |
|
1553 | ||
1554 | $path = $this->decode($dst); |
|
1555 | ||
@@ 1669-1671 (lines=3) @@ | ||
1666 | return $this->setError(elFinder::ERROR_PERM_DENIED); |
|
1667 | } |
|
1668 | ||
1669 | if (($dir = $this->dir($dst)) == false) { |
|
1670 | return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
|
1671 | } |
|
1672 | ||
1673 | if (!$dir['write']) { |
|
1674 | return $this->setError(elFinder::ERROR_PERM_DENIED); |
|
@@ 1765-1767 (lines=3) @@ | ||
1762 | $name = $file['name']; |
|
1763 | $errpath = $volume->path($file['hash']); |
|
1764 | ||
1765 | if (($dir = $this->dir($dst)) == false) { |
|
1766 | return $this->setError($err, $errpath, elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
|
1767 | } |
|
1768 | ||
1769 | if (!$dir['write'] || !$file['read']) { |
|
1770 | return $this->setError($err, $errpath, elFinder::ERROR_PERM_DENIED); |