fixed: escapeshellarg pdf file
This commit is contained in:
parent
c0e77ec198
commit
e002575036
|
@ -71,8 +71,8 @@ abstract class BaseCompiler implements Responsable
|
||||||
{
|
{
|
||||||
return collect([
|
return collect([
|
||||||
'cd '.escapeshellarg($this->file->getPath()),
|
'cd '.escapeshellarg($this->file->getPath()),
|
||||||
$document->getEngine()->binary().' --halt-on-error '.$document->filename(),
|
$document->getEngine()->binary().' --halt-on-error '.escapeshellarg($document->filename()),
|
||||||
$document->getEngine()->binary().' --halt-on-error '.$document->filename(),
|
$document->getEngine()->binary().' --halt-on-error '.escapeshellarg($document->filename()),
|
||||||
])->implode(' && ');
|
])->implode(' && ');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue