Hi
I have a line at the top of all my pages to include a file that points to all the other includes. As this included file (and the others) is outside the "www" directory it seems I can only use an absolute server path to point to it like this :
require("/homez.380/user/includes/inc_includes.php");
however, this obviously means that if I develop on one server and then move it to another server I have to change all the paths.
There must be a way of setting a default thingy so that if I do
require("inc_includes.php");
it would automatically point to
"/homez.380/user/includes/"
bearing in mind that I'm on shared hosting and can't touch php.ini, how could I change the default include path ?? is it a thing in .htaccess ?
thanks