aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_variables.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-29 18:05:45 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-07-29 18:05:45 +0000
commita1df416d65167dcb6e472ae11a00ef67e770acec (patch)
treee38ad917e9c597f9748ef5fc14c21a59d62bb42e /src/http/ngx_http_variables.c
parent005124201368a111c85f377bf8636cd161308901 (diff)
downloadnginx-a1df416d65167dcb6e472ae11a00ef67e770acec.tar.gz
nginx-a1df416d65167dcb6e472ae11a00ef67e770acec.zip
--sysconfdir=DIR
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r--src/http/ngx_http_variables.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c
index 913746079..123017d80 100644
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -926,7 +926,9 @@ ngx_http_variable_document_root(ngx_http_request_t *r,
return NGX_ERROR;
}
- if (ngx_conf_full_name((ngx_cycle_t *) ngx_cycle, &path) == NGX_ERROR) {
+ if (ngx_conf_full_name((ngx_cycle_t *) ngx_cycle, &path, 0)
+ == NGX_ERROR)
+ {
return NGX_ERROR;
}