print "Example: If your config file is awstats.mysite.conf, use -config=mysite\n";
}
print "- ${tagbold}Did you create your config file 'awstats.$SiteConfig.conf' ?${tagunbold}${tagbr}\n";
- print "If not, you can run \"$dir/tools/configure.pl\"\nfrom command line, or create it manually.${tagbr}\n";
+ print "If not, you can run \"$dir/tools/awstats_configure.pl\"\nfrom command line, or create it manually.${tagbr}\n";
print "${tagbr}\n";
}
else { print "${tagbr}${tagbold}Setup (".($FileConfig?"'".$FileConfig."'":"Config")." file, web server or permissions) may be wrong.${tagunbold}${tagbr}\n"; }
#------------------------------------------------------------------------------
sub CleanPluginName {
my $stringtoclean=shift;
- $stringtoclean =~ s/[^\w_].*$//g;
+ $stringtoclean =~ s/[^\w_]//g;
return $stringtoclean;
}