php require and include paths
Posted: Wed Jul 08, 2009 9:37 am
I have a large web application with may include and require calls that look like '/home/file/...'. However, I cannot house the include files on my system's /home directory, nor can i create a sym link /home because there is an already existing and used directory there.
How can I redirect '/home' includes to another directory or force php to look for 'home' inside any include directories specified in php.ini? I cannot change all instances of /home' referenced in the web application.
How can I redirect '/home' includes to another directory or force php to look for 'home' inside any include directories specified in php.ini? I cannot change all instances of /home' referenced in the web application.