imajine Posted August 8, 2004 Posted August 8, 2004 One of my sites loads PHP libraries that exist in a directory outside public_html (safer). On my home computer, instead of hardcoding the path to these libraries, I set the include_path to point to that directory. However, on TCH servers, I (understandably) cannot set the include_path. What are my options? I could write a loadLibrary() function, so that I only have to hardcode the path once. Any other ideas? Thanks. Quote
borfast Posted August 8, 2004 Posted August 8, 2004 Are you sure you can't set the include_path? I used to have two sites that were setting the include_path and they were working just fine... Quote
imajine Posted August 8, 2004 Author Posted August 8, 2004 Ah, quite right. The problem lied elsewhere. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.