From 6269df8df94c812ae95cc84fb5644415693a9f65 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 1 Mar 2015 20:36:10 +0100 Subject: [PATCH] fix pdf being saved at root, now in cache/ folder --- inc/poche/WallabagEBooks.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/poche/WallabagEBooks.class.php b/inc/poche/WallabagEBooks.class.php index 558315719..54c2b1bcf 100644 --- a/inc/poche/WallabagEBooks.class.php +++ b/inc/poche/WallabagEBooks.class.php @@ -260,7 +260,7 @@ class WallabagPDF extends WallabagEbooks $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); - $pdf->Output($this->bookFileName . '.pdf', 'FD'); + $pdf->Output('cache/' . $this->bookFileName . '.pdf', 'FD'); } catch (Exception $e) { Tools::logm('TCPDF has encountered an error : '.$e->getMessage());