webbuild: fix for forwarding requests
This commit is contained in:
parent
f2bb820de8
commit
112abc68c6
@ -211,7 +211,7 @@ fi
|
|||||||
# Public requests
|
# Public requests
|
||||||
#
|
#
|
||||||
if [ "$REQUEST" = "refresh" -o "$REQUEST" = "refreshsocial" -o ! "$USER" ]; then
|
if [ "$REQUEST" = "refresh" -o "$REQUEST" = "refreshsocial" -o ! "$USER" ]; then
|
||||||
if [ "$WEBBUILD_URL" -a "$USER" -a "${WEBBUILD_URL/\/localhost\//}" = "$WEBBUILD" ]; then
|
if [ "$WEBBUILD_URL" -a "${WEBBUILD_URL/\/localhost\//}" = "$WEBBUILD_URL" ]; then
|
||||||
curl -s "$WEBBUILD_URL?REQUEST=refreshsocial&USER=$USER&SECRET=`cgi_encodevar \"$USER_SECRET\"`&USER_EMAIL=$USER_EMAIL&FROMID=$FROMID"
|
curl -s "$WEBBUILD_URL?REQUEST=refreshsocial&USER=$USER&SECRET=`cgi_encodevar \"$USER_SECRET\"`&USER_EMAIL=$USER_EMAIL&FROMID=$FROMID"
|
||||||
else
|
else
|
||||||
[ -e "$WEBBUILD_STATEDIR/social_log" ] || exit
|
[ -e "$WEBBUILD_STATEDIR/social_log" ] || exit
|
||||||
|
Loading…
Reference in New Issue
Block a user