Fix:
- not saving the right image path in Chapter entity
This commit is contained in:
@@ -304,8 +304,8 @@ class MangaController extends AbstractController
|
||||
fclose($tempImage);
|
||||
|
||||
return [
|
||||
'full' => $this->fileSystemManager->getImagePath('full') . '/' . $newFilename,
|
||||
'thumbnail' => $this->fileSystemManager->getImagePath('thumbnails') . '/' . $newFilename
|
||||
'full' => '/images/full/' . $newFilename,
|
||||
'thumbnail' => '/images/thumbnails/' . $newFilename
|
||||
];
|
||||
|
||||
} catch (FileException $e) {
|
||||
|
||||
Reference in New Issue
Block a user