Verify value of PS2PDF and PDF2PS when FIX_BROKEN_PDF is set to yes
This commit is contained in:
parent
524177d875
commit
e6962e06d1
1 changed files with 4 additions and 4 deletions
|
|
@ -234,11 +234,11 @@ class Document_Export
|
|||
{
|
||||
try
|
||||
{
|
||||
if (CONVERT_GIF_PDF == 'NOT') throw new Exception(_("CONVERT_GIF_PDF n'est pas installé"));
|
||||
if (PDFTK == 'NOT') throw new Exception(_("TKPDF n'est pas installé"));
|
||||
if (CONVERT_GIF_PDF == 'NOT') throw new Exception(_("CONVERT_GIF_PDF n'est pas installé"));
|
||||
if (PDFTK == 'NOT') throw new Exception(_("TKPDF n'est pas installé"));
|
||||
if ( FIX_BROKEN_PDF == 'YES') {
|
||||
if (PS2PDF == 'NOT') throw new Exception(_('PS2PDF non installé'));
|
||||
if (PDF2PS == 'NOT') throw new Exception(_('PDF2PS non installé'));
|
||||
if (PS2PDF == 'NOT') throw new Exception(_('PS2PDF non installé'));
|
||||
if (PDF2PS == 'NOT') throw new Exception(_('PDF2PS non installé'));
|
||||
}
|
||||
} catch (Exception $ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue