fixed bug: gzip do not working out, becouse accessible flag settet up to _controller object

This commit is contained in:
coderaiser 2012-07-16 10:58:04 +03:00
parent 9e3acd7ce9
commit 85c3c96508

View file

@ -264,9 +264,8 @@ CloudServer._controller=function(pReq, pRes)
if (lAcceptEncoding &&
lAcceptEncoding.match(/\bgzip\b/) &&
Zlib){
this.Gzip=true;
}else
this.Gzip=false;
CloudCommander.Gzip=true;
}
/* путь в ссылке, который говорит
* что js отключен
*/