Improve : depending if pdftk is a snap or not ,

his path must be a setting
This commit is contained in:
Dany De Bontridder 2019-06-24 16:57:03 +02:00
parent f0392c5c60
commit 20c489450e
3 changed files with 10 additions and 3 deletions

View file

@ -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);