author | Martin Waitz <tali@admingilde.org> | |
Wed, 16 Aug 2006 22:28:39 +0000 (00:28 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 17 Aug 2006 10:04:46 +0000 (03:04 -0700) | ||
commit | 6132b7e4bbdbca14aff72d87784909810edefb82 | |
tree | 559c6b003ad35e1db0d8bba793dcd7c067fb581b | tree | snapshot |
parent | 5c95fab017681f6ab21bf82c195bf0a3826fe014 | commit | diff |
gitweb: support for / as home_link.
If the webserver is configured to use gitweb even for the root directory
of the site, then my_uri is empty which leads to a non-functional home
link. Fix that by defaulting to "/" in this case.
Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
If the webserver is configured to use gitweb even for the root directory
of the site, then my_uri is empty which leads to a non-functional home
link. Fix that by defaulting to "/" in this case.
Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |