From: Thomas Citharel Date: Sun, 1 Mar 2015 19:36:10 +0000 (+0100) Subject: fix pdf being saved at root, now in cache/ folder X-Git-Tag: 1.9.1alpha1~11 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=6269df8df94c812ae95cc84fb5644415693a9f65;p=github%2Fwallabag%2Fwallabag.git fix pdf being saved at root, now in cache/ folder --- 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 $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());