X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=INSTALL.sh;h=babf41558b640b4ca2328279538396aa9d6c0520;hb=217280c9fc7fb35c4a9e106d1cd8cbd127f90f8f;hp=3786987439e34ab4cfe40d6bb31565186882092a;hpb=9f7ca23e9488b65359fbd9b1fd4f426967898b80;p=brisk.git diff --git a/INSTALL.sh b/INSTALL.sh index 3786987..babf415 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -332,9 +332,10 @@ 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 +sed -i "s@\( \+cookiepath *: *\)\"[^\"]*\" *,@\1 \"$prefix_path\",@g" ${web_path}__/xynt-http-streaming.js + document_root="$(grep DocumentRoot "${apache_conf}" | awk '{ print $2 }')" sed -i "s@^\(\$DOCUMENT_ROOT *= *[\"']\)[^\"']*\([\"']\)@\1$document_root\2@g" ${web_path}__/spush/*.ph*