Browse Source

Fix to awstats variable change

Kristan Kenney 6 years ago
parent
commit
b7bc406584
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install/upgrade/versions/1.0.2.sh

+ 1 - 1
install/upgrade/versions/1.0.2.sh

@@ -51,7 +51,7 @@ if [ ! -z "$WEBALIZER_CHECK" ]; then
     if [ -d "/var/www/webalizer" ]; then
         rm -rf /var/www/webalizer
     fi
-    sed -i "s/STATS_SYSTEM='webalizer,awstats'/STATS_SYSTEM='awstats'/g" $HESTIA/conf/hestia.conf
+    $HESTIA/bin/v-change-sys-config-value '$STATS_SYSTEM' 'awstats'
 fi
 
 # Remove old hestia.conf files from Apache & NGINX if they exist