tcpdf via composer

This commit is contained in:
Nicolas Lœuillet
2015-01-19 14:36:17 +01:00
parent 90c67dbd12
commit 3329f1bf3d
42 changed files with 71 additions and 63176 deletions

View File

@ -213,9 +213,8 @@ class WallabagPDF extends WallabagEbooks
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor('');
$pdf->SetTitle($this->bookTitle);
$pdf->SetSubject('TCPDF Tutorial');
$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
$pdf->SetSubject($this->bookTitle);
Tools::logm('Adding introduction...');
$pdf->AddPage();
$intro = '<h1>' . $this->bookTitle . '</h1><div style="text-align:center;" >
@ -240,7 +239,7 @@ class WallabagPDF extends WallabagEbooks
$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
$pdf->Output($this->bookFileName . '.pdf', 'FD');
$pdf->Output(CACHE . '/' . $this->bookFileName . '.pdf', 'FD');
}
}