|
@@ 1465-1467 (lines=3) @@
|
| 1462 |
|
return $this->setError(elFinder::ERROR_INVALID_NAME); |
| 1463 |
|
} |
| 1464 |
|
|
| 1465 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1466 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1467 |
|
} |
| 1468 |
|
|
| 1469 |
|
$path = $this->decode($dst); |
| 1470 |
|
|
|
@@ 1584-1586 (lines=3) @@
|
| 1581 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
| 1582 |
|
} |
| 1583 |
|
|
| 1584 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1585 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1586 |
|
} |
| 1587 |
|
|
| 1588 |
|
if (!$dir['write']) { |
| 1589 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
|
@@ 1680-1682 (lines=3) @@
|
| 1677 |
|
$name = $file['name']; |
| 1678 |
|
$errpath = $volume->path($file['hash']); |
| 1679 |
|
|
| 1680 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1681 |
|
return $this->setError($err, $errpath, elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1682 |
|
} |
| 1683 |
|
|
| 1684 |
|
if (!$dir['write'] || !$file['read']) { |
| 1685 |
|
return $this->setError($err, $errpath, elFinder::ERROR_PERM_DENIED); |