]> git.plutz.net Git - webpoll/commitdiff
autocreate data dir master
authorPaul Hänsch <paul@plutz.net>
Thu, 29 Oct 2026 04:41:35 +0000 (05:41 +0100)
committerPaul Hänsch <paul@plutz.net>
Thu, 29 Oct 2026 04:41:35 +0000 (05:41 +0100)
index.cgi

index b2b953102326afe23e16b408a74eeae4e327367d..9f1755b54a7faade637f4b57c311a75a2ec19962 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -7,6 +7,7 @@
 . "$_EXEC"/widgets.sh
 
 [ -n "$HTTPS" ] && HTTPs=https || HTTPs=http
+mkdir -p "${_DATA}/"
 
 # PATH_INFO="$(PATH "/${PATH_INFO#${_BASE}}")"