summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c4c5b0a)
svn path=/trunk/; revision=6
ACTION="$(echo "$_GET[\"action\"]" |egrep '^[a-zA-Z0-9_-]+$')"
ACTION="${_EXEC}/actions/${ACTION}.sh"
ACTION="$(echo "$_GET[\"action\"]" |egrep '^[a-zA-Z0-9_-]+$')"
ACTION="${_EXEC}/actions/${ACTION}.sh"
-[ -x "$ACTION" ] || echo -n "Location: ?p=error\n\n"
+if [ -x "$ACTION" ]; then
+ debug "trying to execute $ACTION"
+ . $ACTION
+else
+ debug "unable to execute $ACTION"
+ echo -n "Location: ?p=error\n\n"
+fi
+