X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=index.cgi;h=a7edbb1186378b7584e1e23e6b39a8f0aa906b19;hp=6bd36d5fbdecd916dccc949fd11ea293abe0798b;hb=be5f12e43f464b3ca924b2131fe74d6cf24981a1;hpb=91b5294e622198de6d3efaa2bb1ad9c7c3cfe1a7 diff --git a/index.cgi b/index.cgi index 6bd36d5..a7edbb1 100755 --- 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