mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-01 06:39:18 +00:00
fix pdf being saved at root, now in cache/ folder
This commit is contained in:
parent
9e5dc91c03
commit
6269df8df9
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue