X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=INSTALL.sh;h=bffa041315558e4e3c1d4212c4c7228b15e1ff6c;hb=34495fd64f6e0749144412348c2dfdad37bddf85;hp=3786987439e34ab4cfe40d6bb31565186882092a;hpb=2ffd82cec38361624bb52a435ef5bd5b1c067af7;p=brisk.git diff --git a/INSTALL.sh b/INSTALL.sh index 3786987..bffa041 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -332,10 +332,11 @@ sed -i "s@define *( *'BRISK_CONF',[^)]*)@define('BRISK_CONF', \"$brisk_conf\")@g sed -i "s@define *( *'BRISK_AUTH_CONF',[^)]*)@define('BRISK_AUTH_CONF', \"$brisk_auth_conf\")@g" ${web_path}__/Obj/auth.phh -sed -i "s@\( \+xhr_rd_cookiepath *: *\)\"[^\"]*\" *,@\1 \"$prefix_path\",@g" ${web_path}__/http_streaming.js sed -i "s@var \+cookiepath \+= \+\"[^\"]*\";@var cookiepath = \"$prefix_path\";@g" ${web_path}__/commons.js -document_root="$(grep DocumentRoot "${apache_conf}" | awk '{ print $2 }')" +sed -i "s@\( \+cookiepath *: *\)\"[^\"]*\" *,@\1 \"$prefix_path\",@g" ${web_path}__/xynt-streaming.js + +document_root="$(grep DocumentRoot "${apache_conf}" | grep -v '^#' | awk '{ print $2 }')" sed -i "s@^\(\$DOCUMENT_ROOT *= *[\"']\)[^\"']*\([\"']\)@\1$document_root\2@g" ${web_path}__/spush/*.ph* if [ -d ${web_path} ]; then