]> git.plutz.net Git - shcgi/commitdiff
remove export caller which made only sense in obsolete versions of confetti
authorpaul <paul@plutz.net>
Sat, 13 Jun 2015 16:48:05 +0000 (16:48 +0000)
committerpaul <paul@plutz.net>
Sat, 13 Jun 2015 16:48:05 +0000 (16:48 +0000)
svn path=/trunk/; revision=5

index.cgi
page.sh

index 9c068b54435e49f0d723e318b71a265f796be681..fada33d28e5e7a0bcb09a2e462f5e19ce2646023 100755 (executable)
--- 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 578e93a9d023917236d0543fdbcf38eadfcac0ba..96f3fcc26f048924abad208e4c4c0f5c4cb953aa 100755 (executable)
--- 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
 }