forked from cosmic/cosmic
small cleanup
This commit is contained in:
parent
863ee32951
commit
69efc60083
2
bin/web
2
bin/web
|
@ -8,7 +8,7 @@ entry_index () {
|
|||
logdir=$(dirname "$log")
|
||||
title=$(printf "%s" "$line" | awk -F'\t' '{print $1}' | sed 's|^.||')
|
||||
itemnum=$((logcount-index+1))
|
||||
page=$((((index)/logs_per_page)+1))
|
||||
page=$(( index / logs_per_page + 1 ))
|
||||
if [ "$page" -ne 1 ]; then
|
||||
entry_index_html="/var/www/html/log/index-${page}.html"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue