]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/WallabagEBooks.class.php
fix pdf being saved at root, now in cache/ folder
[github/wallabag/wallabag.git] / inc / poche / WallabagEBooks.class.php
index 558315719f336e50bc32b21a4a41bb5c137de328..54c2b1bcf2d35b53f07fa7003e815fcbba8757ed 100644 (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());