diff src/http/modules/ngx_http_ssi_filter_module.c @ 82:2aa14f638cf0 NGINX_0_1_41

nginx 0.1.41 *) Bugfix: if the variable was used in the configuration file, then it can not be used in SSI.
author Igor Sysoev <http://sysoev.ru>
date Mon, 25 Jul 2005 00:00:00 +0400
parents 9db7e0b5b27f
children 71c46860eb55
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssi_filter_module.c
+++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -278,12 +278,12 @@ static ngx_http_ssi_command_t  ngx_http_
 static ngx_http_variable_t  ngx_http_ssi_vars[] = {
 
     { ngx_string("date_local"), ngx_http_ssi_date_gmt_local_variable, 0,
-      NGX_HTTP_VAR_NOCACHABLE },
+      NGX_HTTP_VAR_NOCACHABLE, 0 },
 
     { ngx_string("date_gmt"), ngx_http_ssi_date_gmt_local_variable, 1,
-      NGX_HTTP_VAR_NOCACHABLE },
+      NGX_HTTP_VAR_NOCACHABLE, 0 },
 
-    { ngx_null_string, NULL, 0, 0 }
+    { ngx_null_string, NULL, 0, 0, 0 }
 };