mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Correctly include cover JPGs in azw3 bulk downloads
This commit is contained in:
parent
25ed4b4147
commit
b58df6b141
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ function CreateZip(string $filePath, array $ebooks, string $type, string $webRoo
|
|||
|
||||
if($ebook->KindleCoverUrl !== null){
|
||||
$ebookThumbnailPath = $webRoot . '/' . $ebook->KindleCoverUrl;
|
||||
$zip->addFile($ebookFilePath, $folderName . '/' . basename($ebookThumbnailPath));
|
||||
$zip->addFile($ebookThumbnailPath, $folderName . '/' . basename($ebookThumbnailPath));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue