The EXPLODE_PATH issue appears to be solved in 7.5. combine_path appears to be working fine even when the root is not called "/", but perhaps I just had luck on Windows...
/ Martin Nilsson (saturator)
Previous text:
2004-01-12 17:54: Subject: Re: #include
path = combine_path("/",f);
That should be
path = combine_path(f);
You shouldn't assume that the root is called "/". But since f is absolute, combine_path with one argument will do the right thing.
array(string) tmp=EXPLODE_PATH(current_file); tmp[-1]=f; path=combine_path_with_cwd(tmp*"/");
Ack! That should be
path = combine_path_with_cwd(dirname(current_file), f);
I think. Please avoid EXPLODE_PATH.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)