|
@@ 1486-1488 (lines=3) @@
|
| 1483 |
|
return $this->setError(elFinder::ERROR_INVALID_NAME); |
| 1484 |
|
} |
| 1485 |
|
|
| 1486 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1487 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1488 |
|
} |
| 1489 |
|
|
| 1490 |
|
$path = $this->decode($dst); |
| 1491 |
|
|
|
@@ 1605-1607 (lines=3) @@
|
| 1602 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
| 1603 |
|
} |
| 1604 |
|
|
| 1605 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1606 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1607 |
|
} |
| 1608 |
|
|
| 1609 |
|
if (!$dir['write']) { |
| 1610 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
|
@@ 1701-1703 (lines=3) @@
|
| 1698 |
|
$name = $file['name']; |
| 1699 |
|
$errpath = $volume->path($file['hash']); |
| 1700 |
|
|
| 1701 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1702 |
|
return $this->setError($err, $errpath, elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1703 |
|
} |
| 1704 |
|
|
| 1705 |
|
if (!$dir['write'] || !$file['read']) { |
| 1706 |
|
return $this->setError($err, $errpath, elFinder::ERROR_PERM_DENIED); |