Mercurial > hg > nginx
diff src/core/ngx_conf_file.h @ 4827:6e46016ea276
Fixed the "include" directive.
The "include" directive should be able to include multiple files if
given a filename mask. Fixed this to work for "include" directives
inside the "map" or "types" blocks. The "include" directive inside
the "geo" block is still not fixed.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 28 Aug 2012 13:31:01 +0000 |
parents | 1c5e2e4d5b35 |
children | a0599b56e748 |
line wrap: on
line diff
--- a/src/core/ngx_conf_file.h Mon Aug 27 14:21:41 2012 +0000 +++ b/src/core/ngx_conf_file.h Tue Aug 28 13:31:01 2012 +0000 @@ -317,6 +317,7 @@ char *ngx_conf_param(ngx_conf_t *cf); char *ngx_conf_parse(ngx_conf_t *cf, ngx_str_t *filename); +char *ngx_conf_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); ngx_int_t ngx_conf_full_name(ngx_cycle_t *cycle, ngx_str_t *name,