diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-07-29 18:05:45 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-07-29 18:05:45 +0000 |
commit | a1df416d65167dcb6e472ae11a00ef67e770acec (patch) | |
tree | e38ad917e9c597f9748ef5fc14c21a59d62bb42e /src/http/ngx_http_variables.c | |
parent | 005124201368a111c85f377bf8636cd161308901 (diff) | |
download | nginx-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.c | 4 |
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; } |