]> git.plutz.net Git - webpoll/blobdiff - newdate.sh
added polling page
[webpoll] / newdate.sh
index b71bdef063fb6679681cebd533222e7ab4e55e73..b2e35a6b5144c94b602640628a86897cdacc8c5a 100755 (executable)
@@ -116,6 +116,8 @@ if [ "$REQUEST_METHOD" = POST ]; then
   if [ "$(POST cancel)" = cancel ]; then
     rm -- "$file"
     REDIRECT "$_BASE/"
+  elif [ "$(POST post)" = post ]; then
+    REDIRECT "$_BASE${PATH_INFO%/*}"
   else
     REDIRECT "$_BASE$PATH_INFO${month:+?month=}${month}"
   fi