]> git.plutz.net Git - confetti/blobdiff - index.cgi
multiple logical fixes in vcard updater
[confetti] / index.cgi
index 6bd36d5fbdecd916dccc949fd11ea293abe0798b..a7edbb1186378b7584e1e23e6b39a8f0aa906b19 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