Comment 2 for bug 1066834

Revision history for this message
Eric Klien (l93sf) wrote :

A solution to the problem is to change the following in awstats.pl:

                       if ($LevelForFileTypesDetection){
                               $datatoload{$filemime} = 1;

to:

# if ($LevelForFileTypesDetection)
{ $datatoload{$filemime} = 1;

This still won't handle the .cur extension. You could handle it by adding it to MimeHashLib at lib/mime.pm or you could simply change ( $LevelForFileTypesDetection >= 2 || $MimeHashLib{$1} ) to ( $LevelForFileTypesDetection >= 0 || $MimeHashLib{$1} )