Fix incorrect wkhtmltopdf command

This commit is contained in:
Craig Davis
2017-10-19 16:59:16 -07:00
parent 52bd1c19c3
commit a1174e1732

View File

@@ -83,7 +83,7 @@ class PdfCommand extends HtmlCommand
file_put_contents($pdfSource, $rendered);
// Process the document with wkhtmltopdf
exec('wkhtmltopdf --dpi 300' . $pdfSource .' ' . $destFilename);
exec('wkhtmltopdf --dpi 300 ' . $pdfSource .' ' . $destFilename);
// Unlink the temporary file
unlink($pdfSource);