X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=action.sh;fp=action.sh;h=a0240d932d0f718a5088d44d3b942f61dce66c3c;hp=0c46d73d2027cd89ba994590bc2f0559443dd92f;hb=4498e62c889c4851001583f0b47107a48df08055;hpb=73af685d5cc48a33b6e1bd8b39c6fe725b83eff3 diff --git a/action.sh b/action.sh index 0c46d73..a0240d9 100755 --- a/action.sh +++ b/action.sh @@ -19,6 +19,6 @@ ACTION="$(echo "$_GET[\"action\"]" |egrep '^[a-zA-Z0-9_-]+$')" ACTION="${_EXEC}/actions/${ACTION}.sh" -[ -x "$ACTION" ] || echo -n "Location: http://$HTTP_HOST/?page=error\n\n" +[ -x "$ACTION" ] || echo -n "Location: ?page=error\n\n" . $ACTION