From ae4c33994cdedcd115bc3a244259058570ca66a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 27 Jul 2023 09:16:35 +0200 Subject: [PATCH] export config variables for macros --- index.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.cgi b/index.cgi index 61a8bb0..5d16823 100755 --- a/index.cgi +++ b/index.cgi @@ -6,9 +6,9 @@ . "${_EXEC}/tools.sh" . "${_EXEC}/acl.sh" -REV_PAGES=${REV_PAGES:-true} -REV_ATTACHMENTS=${REV_ATTACHMENTS:-false} -WIKI_THEME="${WIKI_THEME:-default}" +export REV_PAGES=${REV_PAGES:-true} +export REV_ATTACHMENTS=${REV_ATTACHMENTS:-false} +export WIKI_THEME="${WIKI_THEME:-default}" which git >/dev/null || REV_PAGES=false [ "$REV_PAGES" != true ] && REV_ATTACHMENTS=false -- 2.39.2