Welcome Guest, Not a member yet? Register   Sign In
How do I properly integrate TCPDF?
#1

[eluser]Alhazred[/eluser]
I'm trying to integrate tcpdf to CI.
I could do that using tcpdf as an helper, so I put the files inside application/helpers/tcpdf/ and a file tcpdf_helper.php into application/helpers/ and I load this one when I need to use tcpdf.

It works, but I'm having a problem, as default images' folder tcpdf uses
/application/helpers/tcpdf/examples/images/
instead I want to use my images' folder which is placed in
/images/

I tried anything I could think, but with no luck, I always get an error message which says that the folder doesn't exist.

Do you know how could I change the folder into the tcpdf configuration file?
#2

[eluser]Alhazred[/eluser]
I've solved, it was a problem with a / to remove at the beginning of the path.




Theme © iAndrew 2016 - Forum software by © MyBB