|
@@ 1424-1426 (lines=3) @@
|
| 1421 |
|
return $this->setError(elFinder::ERROR_INVALID_NAME); |
| 1422 |
|
} |
| 1423 |
|
|
| 1424 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1425 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1426 |
|
} |
| 1427 |
|
|
| 1428 |
|
$path = $this->decode($dst); |
| 1429 |
|
|
|
@@ 1543-1545 (lines=3) @@
|
| 1540 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
| 1541 |
|
} |
| 1542 |
|
|
| 1543 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1544 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1545 |
|
} |
| 1546 |
|
|
| 1547 |
|
if (!$dir['write']) { |
| 1548 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
|
@@ 1639-1641 (lines=3) @@
|
| 1636 |
|
$name = $file['name']; |
| 1637 |
|
$errpath = $volume->path($file['hash']); |
| 1638 |
|
|
| 1639 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1640 |
|
return $this->setError($err, $errpath, elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1641 |
|
} |
| 1642 |
|
|
| 1643 |
|
if (!$dir['write'] || !$file['read']) { |
| 1644 |
|
return $this->setError($err, $errpath, elFinder::ERROR_PERM_DENIED); |