multiple logical fixes in vcard updater
[confetti] / index.cgi
index 6bd36d5..a7edbb1 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -46,4 +46,10 @@ cgi_get
 
 . "$_EXEC/constants.sh"
 
-[ -n "$_GET[\"action\"]" ] && . "$_EXEC/action.sh" || . "$_EXEC/page.sh"
+if [ -n "$_GET[\"action\"]" ]; then
+  . "$_EXEC/action.sh"
+elif [ -n "$_GET[\"export\"]" ]; then
+  . "$_EXEC/export.sh"
+else
+  . "$_EXEC/page.sh"
+fi