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