From: eldy <> Date: Thu, 1 May 2003 21:13:51 +0000 (+0000) Subject: Added -staticlinksext to build static pages with another extension than default ... X-Git-Tag: AWSTATS_5_5_BETA~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c11e1543092775b7f64eaa4672b5728f9512f9b;p=thirdparty%2FAWStats.git Added -staticlinksext to build static pages with another extension than default .html --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 158bc27a..8fd0f8b4 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -4519,7 +4519,7 @@ if ($tomorrowsec < 10) { $tomorrowsec = "0$tomorrowsec"; } $tomorrowtime=int($tomorrowyear.$tomorrowmonth.$tomorrowday.$tomorrowhour.$tomorrowmin.$tomorrowsec); my @AllowedArgs=('-site','-config','-showsteps','-showdropped','-showcorrupted', -'-showunknownorigin','-logfile','-output','-staticlinks','-lang', +'-showunknownorigin','-logfile','-output','-staticlinks','-staticlinksext','-lang', '-hostfilter','-urlfilter','-refererpagesfilter', '-month','-year','-framename','-debug','-limitflush'); @@ -4636,6 +4636,9 @@ else { $MonthRequired="$nowmonth"; } if ($QueryString =~ /(^|&)day=(\d{1,2})/i) { $DayRequired=sprintf("%02d",$2); } # day is a hidden option. Must not be used (Make results not understandable). Available for users that rename history files with day. else { $DayRequired=''; } +# Check parameter validity +# TODO + # Print AWStats and Perl version if ($Debug) { debug(ucfirst($PROG)." - $VERSION - Perl $^X $]",1);