|
@@ 1514-1517 (lines=4) @@
|
| 1511 |
|
$this->rmTmb($file); // remove old name tmbs, we cannot do this after dir move |
| 1512 |
|
|
| 1513 |
|
|
| 1514 |
|
if ($path = $this->convEncOut($this->_move($this->convEncIn($path), $this->convEncIn($dir), $this->convEncIn($name)))) { |
| 1515 |
|
$this->clearcache(); |
| 1516 |
|
return $this->stat($path); |
| 1517 |
|
} |
| 1518 |
|
return false; |
| 1519 |
|
} |
| 1520 |
|
|
|
@@ 3273-3277 (lines=5) @@
|
| 3270 |
|
$this->rmTmb($stat); // can not do rmTmb() after _move() |
| 3271 |
|
$this->clearcache(); |
| 3272 |
|
|
| 3273 |
|
if ($this->convEncOut($this->_move($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) { |
| 3274 |
|
$this->removed[] = $stat; |
| 3275 |
|
|
| 3276 |
|
return $this->joinPathCE($dst, $name); |
| 3277 |
|
} |
| 3278 |
|
|
| 3279 |
|
return $this->setError(elFinder::ERROR_MOVE, $this->path($stat['hash'])); |
| 3280 |
|
} |