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

index a7481d70383280808ba70ded82b9bd6d288f968a..2a8291a800849df191ed8d0ec219e631398715cd 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