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->Output($this->bookFileName . '.pdf', 'FD');
$pdf->Output('cache/' . $this->bookFileName . '.pdf', 'FD');
}
catch (Exception $e) {
Tools::logm('TCPDF has encountered an error : '.$e->getMessage());