From: Landry Breuil Date: Wed, 5 Oct 2016 13:11:20 +0000 (+0200) Subject: Add support for pure-ftpd stats format in method field X-Git-Tag: AWSTATS_7_6^2~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F44%2Fhead;p=thirdparty%2FAWStats.git Add support for pure-ftpd stats format in method field --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 1fd2e755..21aa624a 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -18343,6 +18343,7 @@ if ( $UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft' ) elsif ( $LogType eq 'F' && ( $field[$pos_method] eq 'RETR' + || $field[$pos_method] eq 'D' || $field[$pos_method] eq 'o' || $field[$pos_method] =~ /$regget/o ) ) @@ -18353,6 +18354,7 @@ if ( $UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft' ) elsif ( $LogType eq 'F' && ( $field[$pos_method] eq 'STOR' + || $field[$pos_method] eq 'U' || $field[$pos_method] eq 'i' || $field[$pos_method] =~ /$regsent/o ) )