]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix pdf being saved at root, now in cache/ folder
authorThomas Citharel <tcit@tcit.fr>
Sun, 1 Mar 2015 19:36:10 +0000 (20:36 +0100)
committerThomas Citharel <tcit@tcit.fr>
Sun, 1 Mar 2015 19:36:10 +0000 (20:36 +0100)
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());