svn path=/trunk/; revision=52
if [ -z "$QUERY_STRING" ]; then
PATH_INFO="$(printf "$(printf %s "$PATH_INFO" |sed 's:+: :g;s:\\:\\\\:g;s:%:\\x:g')")"
PATH_INFO="$(invalidate "${PATH_INFO}" '(^|.*/)\.\./.*' '')"
- [ -f "$_DATA/$PATH_INFO" ] && . "$_EXEC/shcgi/static.sh" "$_DATA/$PATH_INFO"
+ [ -f "${treeroot:-${_DATA}}/$PATH_INFO" ] && . "$_EXEC/shcgi/static.sh" "${treeroot:-${_DATA}}/$PATH_INFO"
exit 0
fi |HTTP_format