|
@@ 683-685 (lines=3) @@
|
| 680 |
|
|
| 681 |
|
$path = $this->decode($hash); |
| 682 |
|
|
| 683 |
|
if ($this->convEncOut(!$this->_chmod($this->convEncIn($path), $mode))) { |
| 684 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED, $file['name']); |
| 685 |
|
} |
| 686 |
|
|
| 687 |
|
$this->clearcache(); |
| 688 |
|
|
|
@@ 3456-3460 (lines=5) @@
|
| 3453 |
|
if (!$ret) { |
| 3454 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3455 |
|
} |
| 3456 |
|
} else { |
| 3457 |
|
if ($this->convEncOut(!$this->_unlink($this->convEncIn($path)))) { |
| 3458 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3459 |
|
} |
| 3460 |
|
} |
| 3461 |
|
|
| 3462 |
|
$this->removed[] = $stat; |
| 3463 |
|
return true; |