diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi index 123ac5a..60944bd 100755 --- a/webbuild/webbuild-cgi +++ b/webbuild/webbuild-cgi @@ -20,18 +20,8 @@ if [ "$REQUEST" != "refresh" ]; then echo "`date` - USER=$USER&REQUEST=$REQUEST&ENVIRONMENT=$ENVIRONMENT&REPOSITORY=$REPOSITORY&PACKAGE=$PACKAGE&MAINTAINERMODE=$MAINTAINERMODE" >> $LOG fi -[ "$HOST" ] || HOST=0 -[ "$AS_HOST" ] || AS_HOST=0 - -[ "$AS_HOST" -a "$HOST" != "0" ] && HOST_ADD="&HOST=$HOST" - -if [ "$AS_HOST" = "0" ]; then - echo -e "Content-type: text/xml\nPragma: no-cache\n" -# echo -e "Content-Length: 10485\n" - echo -n "" -else - echo -e "Content-type: text/html; charset=UTF-8\n" -fi +echo -e "Content-type: text/xml\nPragma: no-cache\n" +echo -n "" # SECURITY USER_ENABLED=