On 9/02/2007, at 3:04 PM, David MartÃnez Moreno wrote:
Maybe I am completely slept or something, but the viewvc.conf from
Rodrigo
only has the default configuration, that is, an absolute template_dir
parameter and no explicit template. I do not see your point, sorry.
Sorry, hadn't looked at his conf file -- I'd just found this bug when
about to report one myself, and thought it looked like the same one.
Since the behaviour I thought I was describing (relative names in
templates section, absolute template_dir set, result broken because
for some reason it is using /usr/lib as a prefix) is clearly a
problem, I suggest that fixing it to use template_dir as a prefix
whenever the per-template name is relative (i.e. is using the default
or is specified as a relative name in the config) would be a good
idea, and might well fix his problem as well as mine. Oh, and the
default for template_dir obviously needs to be sensible too, rather
than calculated from __file__!
Cheers,
Nick
--
Nick Phillips / +64 3 479 4195 / [EMAIL PROTECTED]
# these statements are my own, not those of the University of Otago