aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche')
-rw-r--r--inc/poche/WallabagEBooks.class.php7
-rwxr-xr-xinc/poche/global.inc.php3
2 files changed, 3 insertions, 7 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}
diff --git a/inc/poche/global.inc.php b/inc/poche/global.inc.php
index 8b62d5de..95bf8ef1 100755
--- a/inc/poche/global.inc.php
+++ b/inc/poche/global.inc.php
@@ -30,9 +30,6 @@ require_once INCLUDES . '/poche/FlattrItem.class.php';
30require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedItem.php'; 30require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedItem.php';
31require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedWriter.php'; 31require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedWriter.php';
32 32
33# pdf library
34require_once INCLUDES . '/3rdparty/libraries/tcpdf/tcpdf.php';
35
36# system configuration; database credentials et caetera 33# system configuration; database credentials et caetera
37require_once INCLUDES . '/poche/config.inc.php'; 34require_once INCLUDES . '/poche/config.inc.php';
38require_once INCLUDES . '/poche/config.inc.default.php'; 35require_once INCLUDES . '/poche/config.inc.default.php';