* [PATCH] Fix: Support for the standard mime.types map in gitweb
@ 2006-06-20 6:19 Jakub Narebski
0 siblings, 0 replies; only message in thread
From: Jakub Narebski @ 2006-06-20 6:19 UTC (permalink / raw)
To: git; +Cc: Jakub Narebski
Temporary fix: commented out offending line in mimetype_guess.
---
gitweb/gitweb.cgi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
718a3b4c1e56c0330fa2c7ced2e66be5b095b541
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index 11cc71f..1b254df 100755
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
@@ -1524,7 +1524,7 @@ sub mimetype_guess {
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');
--
1.3.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-20 6:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 6:19 [PATCH] Fix: Support for the standard mime.types map in gitweb Jakub Narebski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).