# Define command line
my $command="\"$AwstatsDir/$AwstatsProg\" -update -config=$domain";
$command.=" -configdir=\"$DIRCONFIG\"";
+ if ($LastLine)
+ {
+ $command.=" -lastline=$LastLine";
+ }
# Run command line
print "Running '$command' to update config $domain\n";
my $output = `$command 2>&1`;
# Warning if lastline in future
if ($LastLine > ($nowtime + 20000))
{
- warning("WARNING: LastLine parameter in history file is '$LastLine' so in future. May be you need to correct manually the line LastLine in some awstats*.$SiteConfig files.");
+ warning("WARNING: LastLine parameter in history file is '$LastLine' so in future. May be you need to correct manually the line LastLine in some awstats*.$SiteConfig.conf files.");
}
# Force LastLine
if ($QueryString =~ /lastline=(\d{14})/i)