]> git.plutz.net Git - rawnet/commitdiff
handle _BASE variable in cgilite
authorPaul Hänsch <paul@plutz.net>
Thu, 7 Oct 2021 22:34:10 +0000 (00:34 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 7 Oct 2021 22:34:10 +0000 (00:34 +0200)
index.cgi

index c5b1652ca4bf5eb10c4d0010fa92eb5752aaeb2e..e7323cf6452c193fcbb923ed60f0dfc5045cfcc8 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -7,8 +7,6 @@ USER_REQUIREEMAIL=false
 . "$_EXEC"/cgilite/session.sh nocookie
 . "$_EXEC"/cgilite/users.sh
 
-PATH_INFO="$(PATH "/${PATH_INFO#${_BASE}}")"
-
 export MD_HTML="false"
 if [ "$(which awk)" ]; then
   markdown() { awk -f "$_EXEC/cgilite/markdown.awk"; }