Set path to lib
pz - August 22, 2008 - 12:49
| Project: | Printer, e-mail and PDF versions |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#1
The simplest way if you're using Linux is to create a symbolic link:
ln -s path_to_tcpdf tcpdfI 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?
#2
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.
#3
marking closed