diff src/http/modules/ngx_http_ssi_filter_module.c @ 533:d6e48c08d718 release-0.1.41

nginx-0.1.41-RELEASE import *) Bugfix: if the variable was used in the configuration file, then it can not be used in SSI.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 19 Aug 2005 08:54:17 +0000
parents e5d7d0334fdb
children b09ee85d0ac8
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 }
 };