Skip to content

Commit

Permalink
Merge pull request #18 from Tezar/master
Browse files Browse the repository at this point in the history
allow to override mPDF showImageErrors
  • Loading branch information
castamir authored Sep 28, 2017
2 parents ccfa055 + ce705c0 commit 9c036b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Joseki/Application/Responses/PdfResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ public function getMPDF()
$margins["footer"], // float $margin_footer
$this->pageOrientation
);
$mpdf->showImageErrors = true;

$this->mPDF = $mpdf;
}
Expand Down Expand Up @@ -510,7 +511,6 @@ private function build()
$mpdf->SetAuthor($this->documentAuthor);
$mpdf->SetTitle($this->documentTitle);
$mpdf->SetDisplayMode($this->displayZoom, $this->displayLayout);
$mpdf->showImageErrors = true;

// Add styles
if (!empty($this->styles)) {
Expand Down

0 comments on commit 9c036b6

Please sign in to comment.