X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/ee4ea1a2f20a899e78461f6364be2b2ddfc512d069cf966fa5dcb9ffd7770f70..fcb1894e5130367905abab7cc81c5605bce1f3ed1923af68665a8aec1a821c6b:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 409346b..a0b1681 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -2902,6 +2902,11 @@ sub git_header_html { $title EOF +# the stylesheet, favicon etc urls won't work correctly with path_info unless we +# set the appropriate base URL + if ($ENV{'PATH_INFO'}) { + print '\n'; + } # print out each stylesheet that exist if (defined $stylesheet) { #provides backwards capability for those people who define style sheet in a config file