allow to use $uid_got in SSI and perl module

This commit is contained in:
Igor Sysoev 2010-05-18 16:24:56 +00:00
parent 58e1f27d2b
commit ec94491f0c

View File

@ -543,7 +543,7 @@ ngx_http_userid_add_variables(ngx_conf_t *cf)
{
ngx_http_variable_t *var;
var = ngx_http_add_variable(cf, &ngx_http_userid_got, NGX_HTTP_VAR_NOHASH);
var = ngx_http_add_variable(cf, &ngx_http_userid_got, 0);
if (var == NULL) {
return NGX_ERROR;
}