|
@@ 1532-1535 (lines=4) @@
|
| 1529 |
|
$this->rmTmb($file); // remove old name tmbs, we cannot do this after dir move |
| 1530 |
|
|
| 1531 |
|
|
| 1532 |
|
if ($path = $this->convEncOut($this->_move($this->convEncIn($path), $this->convEncIn($dir), $this->convEncIn($name)))) { |
| 1533 |
|
$this->clearcache(); |
| 1534 |
|
return $this->stat($path); |
| 1535 |
|
} |
| 1536 |
|
return false; |
| 1537 |
|
} |
| 1538 |
|
|
|
@@ 3294-3298 (lines=5) @@
|
| 3291 |
|
$this->rmTmb($stat); // can not do rmTmb() after _move() |
| 3292 |
|
$this->clearcache(); |
| 3293 |
|
|
| 3294 |
|
if ($this->convEncOut($this->_move($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) { |
| 3295 |
|
$this->removed[] = $stat; |
| 3296 |
|
|
| 3297 |
|
return $this->joinPathCE($dst, $name); |
| 3298 |
|
} |
| 3299 |
|
|
| 3300 |
|
return $this->setError(elFinder::ERROR_MOVE, $this->path($stat['hash'])); |
| 3301 |
|
} |