diff --git a/var/lib/stl/scripts/manage__stats b/var/lib/stl/scripts/manage__stats index 9429f42..675a06c 100644 --- a/var/lib/stl/scripts/manage__stats +++ b/var/lib/stl/scripts/manage__stats @@ -50,7 +50,7 @@ files_bruts_www=0 stats__statoolinfos() { case "$stl_install" in server) - cat < "$domain_dir_www/stl.properties" + cat < "$domain_dir_www/stl-stats.properties" stl.articles = $stat_articles_www stl.articles.titles = $article_titles_www @@ -72,11 +72,12 @@ stl.articles.images = $files_images_www stl.articles.filecodes = $files_codes_www stl.articles.filebruts = $files_bruts_www EOSTATS + + # log + this_article="$domain_dir_www/stl-stats.properties" + log__add -i -W -S "Statoolinfos file generated" ;; esac - -this_article="$domain_dir_www/stl.properties" -log__add -i -W -S "Statoolinfos file generated" }