Improve : depending if pdftk is a snap or not ,
his path must be a setting
This commit is contained in:
parent
f0392c5c60
commit
20c489450e
3 changed files with 10 additions and 3 deletions
|
|
@ -271,7 +271,7 @@ if ( ! file_exists($ps2pdf) )
|
|||
/**
|
||||
* Outil pour manipuler les PDF
|
||||
*/
|
||||
$pdftk='/snap/bin/pdftk';
|
||||
if ( ! isset ($pdftk)) { $pdftk ='/usr/bin/pdftk'; }
|
||||
if (file_exists($pdftk))
|
||||
{
|
||||
define ('PDFTK',$pdftk);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue