Remove --print-background: not supported in installed pagedjs-cli version
All checks were successful
Deploy / deploy (push) Successful in 10s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-03-05 09:17:21 +01:00
parent 3d386f4c66
commit a005c982bd

View file

@ -56,7 +56,6 @@ class PdfGenerator
$cmd .= escapeshellcmd($this->config['pagedjs_bin']); $cmd .= escapeshellcmd($this->config['pagedjs_bin']);
$cmd .= ' ' . escapeshellarg($url); $cmd .= ' ' . escapeshellarg($url);
$cmd .= ' -o ' . escapeshellarg($pdfFile); $cmd .= ' -o ' . escapeshellarg($pdfFile);
$cmd .= ' --print-background';
if (!empty($options['timeout'])) { if (!empty($options['timeout'])) {
$cmd .= ' --timeout ' . (int)$options['timeout']; $cmd .= ' --timeout ' . (int)$options['timeout'];