Skip to content

Commit 5645423

Browse files
Merge pull request #15 from offline-agency/fix-bin-path
Fix bin path
2 parents eceeb37 + 617428d commit 5645423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Howtomakeaturn/PDFInfo/PDFInfo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct($file)
4141
public function getBinary()
4242
{
4343
if (empty(static::$bin)) {
44-
static::$bin = trim(trim(getenv('PDFINFO_BIN'), '\\/" \'')) ?: 'pdfinfo';
44+
static::$bin = getenv('PDFINFO_BIN') ?: 'pdfinfo';
4545
}
4646

4747
return static::$bin;

0 commit comments

Comments
 (0)