1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

fix pdf being saved at root, now in cache/ folder

This commit is contained in:
Thomas Citharel 2015-03-01 20:36:10 +01:00
parent 9e5dc91c03
commit 6269df8df9

View file

@ -260,7 +260,7 @@ class WallabagPDF extends WallabagEbooks
$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
$pdf->Output($this->bookFileName . '.pdf', 'FD'); $pdf->Output('cache/' . $this->bookFileName . '.pdf', 'FD');
} }
catch (Exception $e) { catch (Exception $e) {
Tools::logm('TCPDF has encountered an error : '.$e->getMessage()); Tools::logm('TCPDF has encountered an error : '.$e->getMessage());