summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b6511a)
raw | patch | inline | side by side (parent: 7b6511a)
author | Jakub Narebski <jnareb@gmail.com> | |
Tue, 20 Jun 2006 06:19:31 +0000 (06:19 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 20 Jun 2006 09:59:55 +0000 (02:59 -0700) |
Temporary fix: commented out offending line in mimetype_guess.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi | patch | blob | history |
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index d7da6368ce15c5461bd75498cae5db34fec5d0dc..78e6dd03462c8836743f3879c1d1832d5e9931e9 100755 (executable)
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
if ($mimetypes_file) {
my $file = $mimetypes_file;
- $file =~ m#^/# or $file = "$projectroot/$path/$file";
+ #$file =~ m#^/# or $file = "$projectroot/$path/$file";
$mime = mimetype_guess_file($filename, $file);
}
$mime ||= mimetype_guess_file($filename, '/etc/mime.types');