comparison src/http/ngx_http_core_module.c @ 1156:a9005d2e2c99

style fix
author Igor Sysoev <igor@sysoev.ru>
date Mon, 02 Apr 2007 05:43:21 +0000
parents 39a3aa08eefe
children a4820184a618
comparison
equal deleted inserted replaced
1155:39a3aa08eefe 1156:a9005d2e2c99
2657 return NGX_CONF_ERROR; 2657 return NGX_CONF_ERROR;
2658 } 2658 }
2659 2659
2660 value = cf->args->elts; 2660 value = cf->args->elts;
2661 2661
2662 if (ngx_strstr(value[1].data, "$document_root") != 0 2662 if (ngx_strstr(value[1].data, "$document_root")
2663 || ngx_strstr(value[1].data, "${document_root}") != 0) 2663 || ngx_strstr(value[1].data, "${document_root}"))
2664 { 2664 {
2665 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 2665 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
2666 "the $document_root variable may not be used " 2666 "the $document_root variable may not be used "
2667 "in the \"%V\" directive", 2667 "in the \"%V\" directive",
2668 &cmd->name); 2668 &cmd->name);