|
@@ 663-665 (lines=3) @@
|
| 660 |
|
|
| 661 |
|
$path = $this->decode($hash); |
| 662 |
|
|
| 663 |
|
if ($this->convEncOut(!$this->_chmod($this->convEncIn($path), $mode))) { |
| 664 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED, $file['name']); |
| 665 |
|
} |
| 666 |
|
|
| 667 |
|
$this->clearcache(); |
| 668 |
|
|
|
@@ 3357-3361 (lines=5) @@
|
| 3354 |
|
if (!$ret) { |
| 3355 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3356 |
|
} |
| 3357 |
|
} else { |
| 3358 |
|
if ($this->convEncOut(!$this->_unlink($this->convEncIn($path)))) { |
| 3359 |
|
return $this->setError(elFinder::ERROR_RM, $this->path($stat['hash'])); |
| 3360 |
|
} |
| 3361 |
|
} |
| 3362 |
|
|
| 3363 |
|
$this->removed[] = $stat; |
| 3364 |
|
return true; |