|
@@ 681-683 (lines=3) @@
|
| 678 |
|
|
| 679 |
|
$path = $this->decode($hash); |
| 680 |
|
|
| 681 |
|
if ($this->convEncOut(!$this->_chmod($this->convEncIn($path), $mode))) { |
| 682 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED, $file['name']); |
| 683 |
|
} |
| 684 |
|
|
| 685 |
|
$this->clearcache(); |
| 686 |
|
|
|
@@ 3416-3420 (lines=5) @@
|
| 3413 |
|
if (!$ret) { |
| 3414 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3415 |
|
} |
| 3416 |
|
} else { |
| 3417 |
|
if ($this->convEncOut(!$this->_unlink($this->convEncIn($path)))) { |
| 3418 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3419 |
|
} |
| 3420 |
|
} |
| 3421 |
|
|
| 3422 |
|
$this->removed[] = $stat; |
| 3423 |
|
return true; |