diff --git a/tools/rapport_activite.sh b/tools/rapport_activite.sh index 8dc06387..822a234a 100755 --- a/tools/rapport_activite.sh +++ b/tools/rapport_activite.sh @@ -61,7 +61,8 @@ generateReport() echo "Nombre de lectures ce mois = $readPasteCount" echo "Nombre de lectures ce mois - les commentaires = $((readPasteCount-commentCount))" - pasteCount=$(find ../data -mindepth 2 -maxdepth 3 -type f | wc -l) + + pasteCount=$(find /var/www/paste.chapril.org/data -mindepth 3 -maxdepth 3 -type f | wc -l) echo "Nombre de pastes dans la base actuellement = $pasteCount" echo }