]> git.plutz.net Git - confetti/blob - action.sh
style of course deit buttons
[confetti] / action.sh
1 #!/bin/zsh
2
3 ACTION="$(echo "$_GET[\"action\"]" |egrep '^[a-zA-Z0-9_-]+$')"
4 ACTION="${_EXEC}/actions/${ACTION}.sh"
5 [ -x "$ACTION" ] || echo -n "Location: http://$HTTP_HOST/?page=error\n\n"
6
7 . $ACTION