|
|
@@ -45,5 +45,8 @@ WEBALIZER_CHECK=$(cat $HESTIA/conf/hestia.conf | grep webalizer)
|
|
|
if [ ! -z "$WEBALIZER_CHECK" ]; then
|
|
|
echo "(*) Removing Webalizer and setting AWStats as default web statistics backend..."
|
|
|
apt purge webalizer -y > /dev/null 2>&1
|
|
|
+ rm -fr $HESTIA/data/templates/web/webalizer
|
|
|
+ rm -fr $HESTIA/install/deb/templates/web/webalizer
|
|
|
+ rm -fr /var/www/webalizer
|
|
|
sed -i "s/STATS_SYSTEM='webalizer,awstats'/STATS_SYSTEM='awstats'/g" $HESTIA/conf/hestia.conf
|
|
|
fi
|