X-Git-Url: http://git.plutz.net/?p=serve0;a=blobdiff_plain;f=index.cgi;h=a33211d6653adbc4fc2980e4d0077277069abc06;hp=62e495aed94d5538515f3ba751dc5a625bc67c79;hb=83ae7baa92d4bf2010666435813bb965f7c71561;hpb=fe22bb1e8fc7e116cd165ebeba90361e740b0989 diff --git a/index.cgi b/index.cgi index 62e495a..a33211d 100755 --- a/index.cgi +++ b/index.cgi @@ -26,7 +26,7 @@ case $ACTION in SET_COOKIE +$((86400 * 90)) mode="$(POST mode |grep -m1 -axE 'browse|index' || printf browse)" SET_COOKIE +$((86400 * 90)) fakemp4="$(POST fakemp4 |grep -m1 -axE 'yes' || printf no)" SET_COOKIE +$((86400 * 90)) downscale="$(POST downscale |grep -m1 -axE 'yes' || printf no)" - [ "$(POST index)" = "update" ] && touch -cd @0 "${_DATA}/.index/meta" + [ "$(POST index)" = "update" ] && touch -cd @0 "${_DATA}/.index/meta.time" REDIRECT "$(POST ref)" ;; bookmark)