diff options
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 | } |