diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-19 14:36:17 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-19 14:36:17 +0100 |
commit | 3329f1bf3d855849ee2b3f8333be542d53b62fb8 (patch) | |
tree | 5515752870fb8f6f03e64e0519b04b73897166ea /inc/poche/WallabagEBooks.class.php | |
parent | 90c67dbd12b2045245265bde7cb6fe1e2f6aa9d9 (diff) | |
download | wallabag-3329f1bf3d855849ee2b3f8333be542d53b62fb8.tar.gz wallabag-3329f1bf3d855849ee2b3f8333be542d53b62fb8.tar.zst wallabag-3329f1bf3d855849ee2b3f8333be542d53b62fb8.zip |
tcpdf via composer
Diffstat (limited to 'inc/poche/WallabagEBooks.class.php')
-rw-r--r-- | inc/poche/WallabagEBooks.class.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/inc/poche/WallabagEBooks.class.php b/inc/poche/WallabagEBooks.class.php index bc40990b..a9c62af9 100644 --- a/inc/poche/WallabagEBooks.class.php +++ b/inc/poche/WallabagEBooks.class.php | |||
@@ -213,9 +213,8 @@ class WallabagPDF extends WallabagEbooks | |||
213 | $pdf->SetCreator(PDF_CREATOR); | 213 | $pdf->SetCreator(PDF_CREATOR); |
214 | $pdf->SetAuthor(''); | 214 | $pdf->SetAuthor(''); |
215 | $pdf->SetTitle($this->bookTitle); | 215 | $pdf->SetTitle($this->bookTitle); |
216 | $pdf->SetSubject('TCPDF Tutorial'); | 216 | $pdf->SetSubject($this->bookTitle); |
217 | $pdf->SetKeywords('TCPDF, PDF, example, test, guide'); | 217 | |
218 | |||
219 | Tools::logm('Adding introduction...'); | 218 | Tools::logm('Adding introduction...'); |
220 | $pdf->AddPage(); | 219 | $pdf->AddPage(); |
221 | $intro = '<h1>' . $this->bookTitle . '</h1><div style="text-align:center;" > | 220 | $intro = '<h1>' . $this->bookTitle . '</h1><div style="text-align:center;" > |
@@ -240,7 +239,7 @@ class WallabagPDF extends WallabagEbooks | |||
240 | $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); | 239 | $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); |
241 | 240 | ||
242 | 241 | ||
243 | $pdf->Output($this->bookFileName . '.pdf', 'FD'); | 242 | $pdf->Output(CACHE . '/' . $this->bookFileName . '.pdf', 'FD'); |
244 | 243 | ||
245 | } | 244 | } |
246 | } | 245 | } |