diff src/http/ngx_http_variables.c @ 1352:e958b3cab51a

--sysconfdir=DIR
author Igor Sysoev <igor@sysoev.ru>
date Sun, 29 Jul 2007 18:05:45 +0000
parents 9ca095d36863
children 4c43e25d11ea
line wrap: on
line diff
--- 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
             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;
         }