From 2785c687f62b164d5c08a20481270c66653a6bff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 28 Aug 2021 02:08:54 +0200 Subject: [PATCH] let environment be determined by cgilite --- index.cgi | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/index.cgi b/index.cgi index a7481d7..a2059e2 100755 --- a/index.cgi +++ b/index.cgi @@ -1,14 +1,9 @@ #!/bin/sh -_EXEC="${_EXEC:-${0%/*}/}" -_DATA="${_DATA:-.}" -_BASE="${_BASE%/}" - -. "$_EXEC"/cgilite/cgilite.sh +. "${_EXEC:-${0%/*}}"/cgilite/cgilite.sh . "$_EXEC"/cgilite/session.sh . "$_EXEC"/cgilite/file.sh . "$_EXEC"/cgilite/storage.sh -#. "$_EXEC"/session_lock.sh . "$_EXEC"/widgets.sh PATH_INFO="$(PATH "/${PATH_INFO#${_BASE}}")" -- 2.39.2