mirror of
https://github.com/nginx/nginx.git
synced 2025-06-16 16:51:05 +08:00
style fix
This commit is contained in:
parent
ceab369f44
commit
10b9894bee
@ -2659,8 +2659,8 @@ ngx_http_core_root(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||||||
|
|
||||||
value = cf->args->elts;
|
value = cf->args->elts;
|
||||||
|
|
||||||
if (ngx_strstr(value[1].data, "$document_root") != 0
|
if (ngx_strstr(value[1].data, "$document_root")
|
||||||
|| ngx_strstr(value[1].data, "${document_root}") != 0)
|
|| ngx_strstr(value[1].data, "${document_root}"))
|
||||||
{
|
{
|
||||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||||
"the $document_root variable may not be used "
|
"the $document_root variable may not be used "
|
||||||
|
Loading…
Reference in New Issue
Block a user