Skip to content

Commit

Permalink
Update for V6
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrosis authored May 7, 2018
1 parent 9246e28 commit 61e2a4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion invoicegr/lib/pdf.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ function pdf_getInstancegr($format='',$metric='mm',$pagetype='P')
else require_once FPDF_PATH.'fpdf.php';

// We need to instantiate fpdi object (instead of tcpdf) to use merging features. But we can disable it.
if (empty($conf->global->MAIN_DISABLE_FPDI)) require_once FPDI_PATH.'fpdi.php';
if (empty($conf->global->MAIN_DISABLE_TCPDI)) require_once TCPDI_PATH.'tcpdi.php';
else if (empty($conf->global->MAIN_DISABLE_FPDI)) require_once FPDI_PATH.'fpdi.php';

//$arrayformat=pdf_getFormat();
//$format=array($arrayformat['width'],$arrayformat['height']);
Expand Down

0 comments on commit 61e2a4a

Please sign in to comment.