Two sites. Two different servers. Both using php_value include_path in the .htaccess file to specify a folder called 'include' as the default include directory. Included files are primarily HTML, but parsed as PHP.
On the first site, a document 'A' in the root includes (using require function) document 'B' in the 'include' folder. Any graphics referenced in 'B' use paths relative to 'B'. This is how I want it.
On the second site, a document 'A' in the root includes (using require function)document 'B' in the 'include' folder. Any graphics referenced in 'B' use paths relative to 'A'. This is driving me potty.
Why is the behaviour different on the two servers and how do I change it. I have access to php.ini etc. on the second box.