mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
idn support for awstats
This commit is contained in:
parent
fb216fc3ee
commit
ebdbe965e8
5 changed files with 14 additions and 5 deletions
|
@ -13,6 +13,7 @@
|
|||
# Argument defenition
|
||||
user=$1
|
||||
domain=$(idn -t --quiet -u "$2" )
|
||||
domain_idn=$(idn -t --quiet -a "$domain")
|
||||
|
||||
# Includes
|
||||
source $VESTA/conf/vesta.conf
|
||||
|
@ -48,7 +49,7 @@ stats_dir="$HOMEDIR/$user/web/$domain/stats"
|
|||
rm -rf $stats_dir/*
|
||||
|
||||
# Deleting config
|
||||
rm -f /etc/awstats/$STATS.$domain.conf
|
||||
rm -f /etc/awstats/$STATS.$domain_idn.conf
|
||||
rm -f $HOMEDIR/$user/conf/web/$STATS.$domain.conf
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue