load library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: load library (/showthread.php?tid=9436) |
load library - El Forum - 06-25-2008 [eluser]Mitja B.[/eluser] I have folder html2fpdf and fil html2fpdf.pdf inside. How can i load library now. $this->load->library('html2fpdf/html2fpdf'); this not working Thx load library - El Forum - 06-25-2008 [eluser]Zeeshan Rasool[/eluser] Well you w'll have to check this code, $this->load->html2fpdf(’html2fpdf’); Hope it will work. load library - El Forum - 06-25-2008 [eluser]Mitja B.[/eluser] it must be inside html2fpdf directory becouse then pdf convertor not working it is not possible to load library inside directory? load library - El Forum - 06-25-2008 [eluser]Zeeshan Rasool[/eluser] But you can move ’html2fpdf’file to the folder where from you r loading other files mean in library folder load library - El Forum - 06-25-2008 [eluser]Mitja B.[/eluser] if i do this then i must change other 20 files load library - El Forum - 06-25-2008 [eluser]Scriptor[/eluser] First, why is your library file a PDF file? Are you sure it's a PHP library for Codeigniter? Try Code: $this->load->library(’html2fpdf/html2fpdf.pdf’); |