|
@@ 701-703 (lines=3) @@
|
| 698 |
|
|
| 699 |
|
$path = $this->decode($hash); |
| 700 |
|
|
| 701 |
|
if ($this->convEncOut(!$this->_chmod($this->convEncIn($path), $mode))) { |
| 702 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED, $file['name']); |
| 703 |
|
} |
| 704 |
|
|
| 705 |
|
$this->clearcache(); |
| 706 |
|
|
|
@@ 3521-3525 (lines=5) @@
|
| 3518 |
|
if (!$ret) { |
| 3519 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3520 |
|
} |
| 3521 |
|
} else { |
| 3522 |
|
if ($this->convEncOut(!$this->_unlink($this->convEncIn($path)))) { |
| 3523 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3524 |
|
} |
| 3525 |
|
} |
| 3526 |
|
|
| 3527 |
|
$this->removed[] = $stat; |
| 3528 |
|
return true; |