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:
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->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());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue