|
@@ 1448-1450 (lines=3) @@
|
| 1445 |
|
return $this->setError(elFinder::ERROR_INVALID_NAME); |
| 1446 |
|
} |
| 1447 |
|
|
| 1448 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1449 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1450 |
|
} |
| 1451 |
|
|
| 1452 |
|
$path = $this->decode($dst); |
| 1453 |
|
|
|
@@ 1567-1569 (lines=3) @@
|
| 1564 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
| 1565 |
|
} |
| 1566 |
|
|
| 1567 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1568 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1569 |
|
} |
| 1570 |
|
|
| 1571 |
|
if (!$dir['write']) { |
| 1572 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
|
@@ 1663-1665 (lines=3) @@
|
| 1660 |
|
$name = $file['name']; |
| 1661 |
|
$errpath = $volume->path($file['hash']); |
| 1662 |
|
|
| 1663 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1664 |
|
return $this->setError($err, $errpath, elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1665 |
|
} |
| 1666 |
|
|
| 1667 |
|
if (!$dir['write'] || !$file['read']) { |
| 1668 |
|
return $this->setError($err, $errpath, elFinder::ERROR_PERM_DENIED); |