El viernes, 9 de febrero de 2007 00:40, Nick Phillips escribió: > OK, well take a look at line 761 in viewvc.py and it being called > from line 827, and laugh. Consider for a moment the explicitly-set > relative template paths in the viewvc.conf that has been generated > for you. Consider further the absolute futility of setting the > template_dir option.
Only if it is relative, not absolute. There is a: if os.path.isabs(path): that should take care of giving back the path unaltered if it is absolute, which is our case. > Then switch to cvsweb or something. > > A fine example of shit code in any language. > > > For a workaround, either set the template_dir option in the [options] > section of your viewvc.conf and comment out all of the explicit > templates specified in the [templates] section, or just make sure > that every template in the [templates] section is specified with an > absolute path. 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. Heading my bed. Best regards, Ender. -- Network engineer Debian Developer
pgpgMBfOtr6yp.pgp
Description: PGP signature