fixed pdf temp directory (#845)

This commit is contained in:
Kevin Papst
2019-06-07 18:17:45 +02:00
committed by GitHub
parent 4c82f9767f
commit bcf1ebd778

View File

@@ -32,7 +32,7 @@ class MPdfConverter implements HtmlToPdfConverter
*/
public function convertToPdf(string $html)
{
$mpdf = new Mpdf([['tempDir' => $this->cacheDirectory]]);
$mpdf = new Mpdf(['tempDir' => $this->cacheDirectory]);
$mpdf->creator = Constants::SOFTWARE;
$mpdf->WriteHTML($html);