We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eceeb37 + 617428d commit 5645423Copy full SHA for 5645423
src/Howtomakeaturn/PDFInfo/PDFInfo.php
@@ -41,7 +41,7 @@ public function __construct($file)
41
public function getBinary()
42
{
43
if (empty(static::$bin)) {
44
- static::$bin = trim(trim(getenv('PDFINFO_BIN'), '\\/" \'')) ?: 'pdfinfo';
+ static::$bin = getenv('PDFINFO_BIN') ?: 'pdfinfo';
45
}
46
47
return static::$bin;
0 commit comments