From 217280c9fc7fb35c4a9e106d1cd8cbd127f90f8f Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 12 Nov 2012 07:25:23 +0100 Subject: [PATCH] cookiepath management fixed --- INSTALL.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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* -- 2.17.1