|
@@ 1500-1503 (lines=4) @@
|
| 1497 |
|
$this->rmTmb($file); // remove old name tmbs, we cannot do this after dir move |
| 1498 |
|
|
| 1499 |
|
|
| 1500 |
|
if ($path = $this->convEncOut($this->_move($this->convEncIn($path), $this->convEncIn($dir), $this->convEncIn($name)))) { |
| 1501 |
|
$this->clearcache(); |
| 1502 |
|
return $this->stat($path); |
| 1503 |
|
} |
| 1504 |
|
return false; |
| 1505 |
|
} |
| 1506 |
|
|
|
@@ 3259-3263 (lines=5) @@
|
| 3256 |
|
$this->rmTmb($stat); // can not do rmTmb() after _move() |
| 3257 |
|
$this->clearcache(); |
| 3258 |
|
|
| 3259 |
|
if ($this->convEncOut($this->_move($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) { |
| 3260 |
|
$this->removed[] = $stat; |
| 3261 |
|
|
| 3262 |
|
return $this->joinPathCE($dst, $name); |
| 3263 |
|
} |
| 3264 |
|
|
| 3265 |
|
return $this->setError(elFinder::ERROR_MOVE, $this->path($stat['hash'])); |
| 3266 |
|
} |