Mercurial > hg > nginx-mail
comparison 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 |
comparison
equal
deleted
inserted
replaced
81:4e854e6d1986 | 82:2aa14f638cf0 |
---|---|
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 |