From e09ad0d25fd696473af5c910db664b9c1b3c8137 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Thu, 21 Jul 2022 18:53:21 +0200 Subject: [PATCH] Update: file name for statoolinfos (stl-stats.properties) --- var/lib/stl/scripts/manage__stats | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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" }