X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=action.sh;h=390c5ef616d0217385892ca34a7ed952ebed5170;hp=0077575ce2b5e62d571c851fbc76aa63c5ebbb77;hb=fa5c15e6e36107359d926ece94df2b614f37a37b;hpb=d4c4b43f0c0a3632998892da7bad8a18e687b0e8 diff --git a/action.sh b/action.sh index 0077575..390c5ef 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: /?p=error\n\n" . $ACTION