]> git.plutz.net Git - webpoll/commitdiff
bugfix/undo: handling _BASE path ;-)
authorPaul Hänsch <paul@plutz.net>
Thu, 26 Aug 2021 14:48:07 +0000 (16:48 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 26 Aug 2021 14:48:07 +0000 (16:48 +0200)
index.cgi

index 2a8291a800849df191ed8d0ec219e631398715cd..a7481d70383280808ba70ded82b9bd6d288f968a 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -2,7 +2,7 @@
 
 _EXEC="${_EXEC:-${0%/*}/}"
 _DATA="${_DATA:-.}"
-_BASE="${_BASE}"
+_BASE="${_BASE%/}"
 
 . "$_EXEC"/cgilite/cgilite.sh
 . "$_EXEC"/cgilite/session.sh