From c4c5b0acdaaa275baa934caeeba960ad12d14c71 Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 13 Jun 2015 16:48:05 +0000 Subject: [PATCH] remove export caller which made only sense in obsolete versions of confetti svn path=/trunk/; revision=5 --- index.cgi | 2 -- page.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/index.cgi b/index.cgi index 9c068b5..fada33d 100755 --- a/index.cgi +++ b/index.cgi @@ -76,8 +76,6 @@ cgi_get if [ -n "$_GET[\"action\"]" ]; then . "$_EXEC/shcgi/action.sh" -elif [ -n "$_GET[\"export\"]" ]; then - . "$_EXEC/shcgi/export.sh" else . "$_EXEC/shcgi/page.sh" fi diff --git a/page.sh b/page.sh index 578e93a..96f3fcc 100755 --- a/page.sh +++ b/page.sh @@ -27,7 +27,7 @@ NAVIGATION() { for each in "${_EXEC}"/pages/*.sh; do link="$(echo -E "$each" |sed -r "s:^.*/([^/]*)\.sh$:\1:")" title="$($each title)" - [ -n "$title" ] && echo -E "/?p=$link $title" + [ -n "$title" ] && echo -E "?p=$link $title" done } -- 2.39.2