aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/WallabagEBooks.class.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-03-01 20:36:10 +0100
committerThomas Citharel <tcit@tcit.fr>2015-03-01 20:36:10 +0100
commit6269df8df94c812ae95cc84fb5644415693a9f65 (patch)
treebdd2d43ae5c26529228c3d2e86b2a0c78a67db5f /inc/poche/WallabagEBooks.class.php
parent9e5dc91c0383973470f2292b1ec123c48e908e17 (diff)
downloadwallabag-6269df8df94c812ae95cc84fb5644415693a9f65.tar.gz
wallabag-6269df8df94c812ae95cc84fb5644415693a9f65.tar.zst
wallabag-6269df8df94c812ae95cc84fb5644415693a9f65.zip
fix pdf being saved at root, now in cache/ folder
Diffstat (limited to 'inc/poche/WallabagEBooks.class.php')
-rw-r--r--inc/poche/WallabagEBooks.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/WallabagEBooks.class.php b/inc/poche/WallabagEBooks.class.php
index 55831571..54c2b1bc 100644
--- a/inc/poche/WallabagEBooks.class.php
+++ b/inc/poche/WallabagEBooks.class.php
@@ -260,7 +260,7 @@ class WallabagPDF extends WallabagEbooks
260 $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); 260 $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
261 261
262 262
263 $pdf->Output($this->bookFileName . '.pdf', 'FD'); 263 $pdf->Output('cache/' . $this->bookFileName . '.pdf', 'FD');
264 } 264 }
265 catch (Exception $e) { 265 catch (Exception $e) {
266 Tools::logm('TCPDF has encountered an error : '.$e->getMessage()); 266 Tools::logm('TCPDF has encountered an error : '.$e->getMessage());