X-Git-Url: http://git.plutz.net/?p=serve0;a=blobdiff_plain;f=index.cgi;h=ad110e070dcfeebb301108fc4bf16d53a72c3324;hp=eebe10633301346ba89430233211b9803d2b4e1d;hb=a383b5e7023bf2961354f5ec26d4061bc9993e98;hpb=0d67bb5e67ec05be208d0954206edeb35d8c2d4b diff --git a/index.cgi b/index.cgi index eebe106..ad110e0 100755 --- a/index.cgi +++ b/index.cgi @@ -26,6 +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" REDIRECT "$(POST ref)" ;; bookmark)