Is there an easy way to set the path to the lib? I already use tcpdf in another module and would like to have only one set of files so it would be nice if there was a place to set the path to the lib. One way would probably be to override the return value for _print_pdf_tools() but that doesn't look very nice.

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

The simplest way if you're using Linux is to create a symbolic link:

ln -s path_to_tcpdf tcpdf

I have no idea if PHP can follow the Windows shortcuts which are the closest thing to Unix symbolic links.

João

PS: I never heard of another Drupal 6 module using TCPDF, which one is it?

pz’s picture

Thank your for your quick response, that solution however will not work for me, but it is not a problem I can work around it.

The other module is not a contrib module, its an old module I wrote a long time ago for a very specific purpose - no real help to other users. I believe the pdfview-module also used tcpdf but you probably know that already.

pz’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

marking closed