gitweb: support for / as home_link.
[gitweb.git] / gitweb / gitweb.perl
index 43285798e9beb0653278e42065bd829dd83d28bc..0dd24679dde0beed8aa8ffe5657420b3f9f6f229 100755 (executable)
@@ -34,7 +34,7 @@
 our $git_temp = "/tmp/gitweb";
 
 # target of the home link on top of all pages
-our $home_link = $my_uri;
+our $home_link = $my_uri || "/";
 
 # string of the home link on top of all pages
 our $home_link_str = "++GITWEB_HOME_LINK_STR++";