]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.cgi
Fix: Support for the standard mime.types map in gitweb
[Gitweb] / gitweb.cgi
index 21e00aaf85b4f681c8591f4e453244e087cc7e3a268f05fed997dd9d0ac13082..ba1147e59f6194524103402740e085934f65a46e5041cccafd3a7dc4e1146c71 100755 (executable)
@@ -1518,7 +1518,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');
This page took 0.205253 seconds and 4 git commands to generate.