Commit 2fc7e911 by halweg

fix

parent 60c9141a
......@@ -250,7 +250,7 @@ class ReviewsImporter extends Command
}
$this->ioFile->checkAndCreateFolder($this->ioFile->dirname($realPath . $fileName));
if ($this->ioFile->mv($from, $realPath . $fileName)) {
return '/'.basename($imagePath);
return '/'.basename($fileName);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment