From: paul Date: Sat, 13 Jun 2015 16:48:05 +0000 (+0000) Subject: remove export caller which made only sense in obsolete versions of confetti X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=c4c5b0acdaaa275baa934caeeba960ad12d14c71;p=cgilite remove export caller which made only sense in obsolete versions of confetti svn path=/trunk/; revision=5 --- 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 }