Skip to content

Commit

Permalink
Only look for configuration in dedicated awstats directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Beuc committed Dec 17, 2020
1 parent 5b6c79c commit 0d4d4c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wwwroot/cgi-bin/awstats.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1711,13 +1711,13 @@ sub Read_Config {
# Check config file in common possible directories :
# Windows : "$DIR" (same dir than awstats.pl)
# Standard, Mandrake and Debian package : "/etc/awstats"
# Other possible directories : "/usr/local/etc/awstats", "/etc"
# Other possible directories : "/usr/local/etc/awstats",
# FHS standard, Suse package : "/etc/opt/awstats"
my $configdir = shift;
my @PossibleConfigDir = (
"$DIR",
"/etc/awstats",
"/usr/local/etc/awstats", "/etc",
"/usr/local/etc/awstats",
"/etc/opt/awstats"
);

Expand Down

0 comments on commit 0d4d4c0

Please sign in to comment.