PDFMerger icon indicating copy to clipboard operation
PDFMerger copied to clipboard

Cannot redeclare class FPDF in fpdi/fpdi2tcpdf_bridge.php on line 171

Open hsegura opened this issue 8 years ago • 1 comments

Hi

The redeclare issue is fixed if I comment the following lines: (fpdi.php line 22)

// Check for TCPDF and remap TCPDF to FPDF
// if (class_exists('TCPDF')) {
//            require_once('fpdi2tcpdf_bridge.php');
//}

After commenting these lines, it seems everything works perfect. Am I doing something that will generate an issue later? or am I ok with these lines commented.

hsegura avatar Jun 24 '16 12:06 hsegura

if it still ok. why not? to be honestly, i can't maintain this repo alone so feel free to fix and contribute :)

myokyawhtun avatar Jun 25 '16 13:06 myokyawhtun