I am including a navigation file in certain files using include_once, however this nav file also contains inlcude files. The problem is that since I am including it in different directories I have to have different absolute urls, so I tried using relative urls but this only seems to work for directories in the same folder. Therefore is there any way to do this without having to put the c:/ stuff at the begginging?
Example
include_once( "../../system/system.config.php" );
or
include_once( /system/system.config.php" );
don't want to have to do this:
include_once( "c:/intranet/root/system/system.config.php" );