X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=action.sh;h=5432664b288da1116d90a2ec349642e0a4a1c7ad;hp=0077575ce2b5e62d571c851fbc76aa63c5ebbb77;hb=c4c5b0acdaaa275baa934caeeba960ad12d14c71;hpb=914662b3dbecfe34126991cfdb2a9049f2a9a29a diff --git a/action.sh b/action.sh index 0077575..5432664 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