Merge pull request #3023 from mart-e/epub-notice-at-the-end
Add export notice at the end of the epub
This commit is contained in:
commit
656395fde6
@ -148,8 +148,6 @@ class EntriesExport
|
||||
$book->setCoverImage('Cover.png', file_get_contents($this->logoPath), 'image/png');
|
||||
}
|
||||
|
||||
$book->addChapter('Notices', 'Cover2.html', $content_start.$this->getExportInformation('PHPePub').$bookEnd);
|
||||
|
||||
$book->buildTOC();
|
||||
|
||||
/*
|
||||
@ -170,6 +168,8 @@ class EntriesExport
|
||||
$book->addChapter($entry->getTitle(), htmlspecialchars($filename).'.html', $chapter, true, EPub::EXTERNAL_REF_ADD);
|
||||
}
|
||||
|
||||
$book->addChapter('Notices', 'Cover2.html', $content_start.$this->getExportInformation('PHPePub').$bookEnd);
|
||||
|
||||
return Response::create(
|
||||
$book->getBook(),
|
||||
200,
|
||||
|
Loading…
x
Reference in New Issue
Block a user