Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
532:6fadb47f2d26 | 533:d6e48c08d718 |
---|---|
276 | 276 |
277 | 277 |
278 static ngx_http_variable_t ngx_http_ssi_vars[] = { | 278 static ngx_http_variable_t ngx_http_ssi_vars[] = { |
279 | 279 |
280 { ngx_string("date_local"), ngx_http_ssi_date_gmt_local_variable, 0, | 280 { ngx_string("date_local"), ngx_http_ssi_date_gmt_local_variable, 0, |
281 NGX_HTTP_VAR_NOCACHABLE }, | 281 NGX_HTTP_VAR_NOCACHABLE, 0 }, |
282 | 282 |
283 { ngx_string("date_gmt"), ngx_http_ssi_date_gmt_local_variable, 1, | 283 { ngx_string("date_gmt"), ngx_http_ssi_date_gmt_local_variable, 1, |
284 NGX_HTTP_VAR_NOCACHABLE }, | 284 NGX_HTTP_VAR_NOCACHABLE, 0 }, |
285 | 285 |
286 { ngx_null_string, NULL, 0, 0 } | 286 { ngx_null_string, NULL, 0, 0, 0 } |
287 }; | 287 }; |
288 | 288 |
289 | 289 |
290 | 290 |
291 static ngx_int_t | 291 static ngx_int_t |