Skip to content

Commit cd58c23

Browse files
committed
removed redundand awstats formats
1 parent 8d85453 commit cd58c23

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

bin/v-update-web-domain-stat

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,9 @@ build_awstats() {
6464
wwwroot="/usr/share/awstats/wwwroot"
6565
opts="-config=$domain -staticlinks -update -output"
6666
month=$(date "+%Y-%m")
67-
output='alldomains allhosts lasthosts unknownip allemails lastemails
68-
allemailr lastemailr alllogins lastlogins allrobots lastrobots
69-
urldetail urldetail:filter urlentry urlentry:filter urlexit
70-
urlexit:filter osdetail browserdetail unknownbrowser unknownos
71-
refererse refererpages keyphrases keywords errors404 allextraX'
67+
output='alldomains allhosts lasthosts unknownip allrobots lastrobots
68+
urldetail urlentry urlexit osdetail browserdetail unknownbrowser
69+
unknownos refererse refererpages keyphrases keywords errors404'
7270

7371
# Checking statistics directory
7472
if [ ! -e "$dir/$month" ]; then
@@ -124,7 +122,6 @@ build_awstats() {
124122
done
125123
cat $WEBTPL/awstats_nav.tpl | sed -e "s/%select_month%/$select_m/" >\
126124
$dir/nav.html
127-
128125
}
129126

130127
# Switching on statistics type

0 commit comments

Comments
 (0)