Update pdf.lib.php
This commit is contained in:
parent
fb4765c472
commit
da66e5c5a7
@ -131,7 +131,6 @@ function pdf_getInstance($format='',$metric='mm',$pagetype='P')
|
|||||||
//$metric=$arrayformat['unit'];
|
//$metric=$arrayformat['unit'];
|
||||||
|
|
||||||
if (class_exists('TCPDI')) $pdf = new TCPDI($pagetype,$metric,$format);
|
if (class_exists('TCPDI')) $pdf = new TCPDI($pagetype,$metric,$format);
|
||||||
else if (class_exists('FPDI')) $pdf = new FPDI($pagetype,$metric,$format);
|
|
||||||
else $pdf = new TCPDF($pagetype,$metric,$format);
|
else $pdf = new TCPDF($pagetype,$metric,$format);
|
||||||
|
|
||||||
// Protection and encryption of pdf
|
// Protection and encryption of pdf
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user