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);
|
fclose($tempImage);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'full' => $this->fileSystemManager->getImagePath('full') . '/' . $newFilename,
|
'full' => '/images/full/' . $newFilename,
|
||||||
'thumbnail' => $this->fileSystemManager->getImagePath('thumbnails') . '/' . $newFilename
|
'thumbnail' => '/images/thumbnails/' . $newFilename
|
||||||
];
|
];
|
||||||
|
|
||||||
} catch (FileException $e) {
|
} catch (FileException $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user