From: Alex B. <en...@tu...> - 2001-09-14 18:06:04
|
> Hi Jason, > >> I too have wondered this. I'd vote highly against the use of any >> absolute paths unless they are preceed by a definable constant. > The constant may be an option BC_HTDOCS_RESOURCES or someting like that. > Hmmm... I think that needs a bit thinking. > Yes, the way to solve this is during the make process in combination with a path constant: BC_PATH_RESOURCES so all of your paths _will_ be absolute, but based on a variable :) _a >>> The way I sove this currently is running a symlink to >>> build/en/htdocs/resources in every htdocs subdir and using >>> relative paths in the templates i.e >>> src=resources/whatever/file.gif. > > Just discovered this does _not_ work when using path vars like: > > script/var.value/ > > :( > > Andi |