88
97
print "Where options are:\n";
89
98
print " -awstatsprog=pathtoawstatspl\n";
90
99
print " -configdir=directorytoscan\n";
100
print " -excludeconf=conftoexclude[,conftoexclude2,...] (Note: awstats.model.conf is always excluded)\n";
96
105
debug("Scan directory $DIRCONFIG");
99
108
opendir(DIR, $DIRCONFIG) || error("Can't scan directory $DIRCONFIG");
100
109
my @filesindir = grep { /^awstats\.(.*)conf$/ } sort readdir(DIR);