|
@@ 1616-1619 (lines=4) @@
|
| 1613 |
|
$this->rmTmb($file); // remove old name tmbs, we cannot do this after dir move |
| 1614 |
|
|
| 1615 |
|
|
| 1616 |
|
if ($path = $this->convEncOut($this->_move($this->convEncIn($path), $this->convEncIn($dir), $this->convEncIn($name)))) { |
| 1617 |
|
$this->clearcache(); |
| 1618 |
|
return $this->stat($path); |
| 1619 |
|
} |
| 1620 |
|
return false; |
| 1621 |
|
} |
| 1622 |
|
|
|
@@ 3447-3451 (lines=5) @@
|
| 3444 |
|
$this->rmTmb($stat); // can not do rmTmb() after _move() |
| 3445 |
|
$this->clearcache(); |
| 3446 |
|
|
| 3447 |
|
if ($this->convEncOut($this->_move($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) { |
| 3448 |
|
$this->removed[] = $stat; |
| 3449 |
|
|
| 3450 |
|
return $this->joinPathCE($dst, $name); |
| 3451 |
|
} |
| 3452 |
|
|
| 3453 |
|
return $this->setError(elFinder::ERROR_MOVE, $this->path($stat['hash'])); |
| 3454 |
|
} |