diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-08-05 06:21:15 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-08-05 06:21:15 +0000 |
commit | c097e83881350628ade9e4ba47c617d5089eeea4 (patch) | |
tree | cc71af398af4424cf4d7b2837bcca91defc63431 /src | |
parent | ca824f3cfae1650143333c441ff36ed013febc87 (diff) | |
download | nginx-c097e83881350628ade9e4ba47c617d5089eeea4.tar.gz nginx-c097e83881350628ade9e4ba47c617d5089eeea4.zip |
fix xslt module context levels
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_xslt_filter_module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_xslt_filter_module.c b/src/http/modules/ngx_http_xslt_filter_module.c index ac52b5516..7165fc8e5 100644 --- a/src/http/modules/ngx_http_xslt_filter_module.c +++ b/src/http/modules/ngx_http_xslt_filter_module.c @@ -131,21 +131,21 @@ ngx_str_t ngx_http_xslt_default_types[] = { static ngx_command_t ngx_http_xslt_filter_commands[] = { { ngx_string("xml_entities"), - NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1, + NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, ngx_http_xslt_entities, NGX_HTTP_LOC_CONF_OFFSET, 0, NULL }, { ngx_string("xslt_stylesheet"), - NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_1MORE, + NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, ngx_http_xslt_stylesheet, NGX_HTTP_LOC_CONF_OFFSET, 0, NULL }, { ngx_string("xslt_types"), - NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_1MORE, + NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, ngx_http_types_slot, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_xslt_filter_conf_t, types_keys), |