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