]> git.plutz.net Git - cgilite/blobdiff - action.sh
rename page cgi variable to p
[cgilite] / action.sh
index 0077575ce2b5e62d571c851fbc76aa63c5ebbb77..390c5ef616d0217385892ca34a7ed952ebed5170 100755 (executable)
--- 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