Skip to content

Commit

Permalink
MAGETWO-43953: Unable to import images when DocumentRoot is pub/index…
Browse files Browse the repository at this point in the history
….php
  • Loading branch information
Yaroslav Onischenko committed Oct 29, 2015
1 parent 93e8287 commit e62021f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function move($fileName, $renameFileOff = false)

$filePath = $this->_directory->getRelativePath($this->getTmpDir() . '/' . $fileName);
$this->_setUploadFile($filePath);
$result = $this->save($this->getDestDir());
$result = $this->save($this->_directory->getAbsolutePath($this->getDestDir()));
$result['name'] = self::getCorrectFileName($result['name']);
return $result;
}
Expand Down

0 comments on commit e62021f

Please sign in to comment.