. "$_EXEC"/cgilite/file.sh
. "$_EXEC"/session_lock.sh
-git init "$_DATA"
+git init "$_DATA" >/dev/null
yield_page(){
page="$1"
new)
newid="$(timeid)"
touch "$_DATA/$newid"
- git -C "$_DATA" add "$newid"
- git -C "$_DATA" commit -m "new note \"${newid}\"" "$newid"
+ git -C "$_DATA" add "$newid" >/dev/null
+ git -C "$_DATA" commit -m "new note \"${newid}\"" "$newid" >/dev/null
REDIRECT "./$newid"
;;
esac
esac
COOKIE pages |tr \ \\n |grep -qF "${doc##*/}" \
-|| SET_COOKIE +$((90 * 86400)) pages="$(COOKIE pages && printf ' %s' "${doc##*/}" || printf '%s' "${doc##*/}")"
+|| SET_COOKIE +$((90 * 86400)) pages="$(COOKIE pages && printf ' %s' "${doc##*/}" || printf '%s' "${doc##*/}")" Path="${PATH_INFO%/*}/"
yield_page <<-EOF
[form method=POST