|
@@ 673-675 (lines=3) @@
|
| 670 |
|
|
| 671 |
|
$path = $this->decode($hash); |
| 672 |
|
|
| 673 |
|
if ($this->convEncOut(!$this->_chmod($this->convEncIn($path), $mode))) { |
| 674 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED, $file['name']); |
| 675 |
|
} |
| 676 |
|
|
| 677 |
|
$this->clearcache(); |
| 678 |
|
|
|
@@ 3367-3371 (lines=5) @@
|
| 3364 |
|
if (!$ret) { |
| 3365 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3366 |
|
} |
| 3367 |
|
} else { |
| 3368 |
|
if ($this->convEncOut(!$this->_unlink($this->convEncIn($path)))) { |
| 3369 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3370 |
|
} |
| 3371 |
|
} |
| 3372 |
|
|
| 3373 |
|
$this->removed[] = $stat; |
| 3374 |
|
return true; |