From: Matteo Nastasi (mop) Date: Mon, 12 Nov 2012 06:25:23 +0000 (+0100) Subject: cookiepath management fixed X-Git-Tag: v4.0.0~2 X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=217280c9fc7fb35c4a9e106d1cd8cbd127f90f8f cookiepath management fixed --- 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*