Klaus Demo nginx / 2567c92
allow "env" to work in the single process mode Igor Sysoev 9 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
290290 {
291291 ngx_uint_t i;
292292
293 if (ngx_set_environment(cycle, NULL) == NULL) {
294 /* fatal */
295 exit(2);
296 }
297
293298 for (i = 0; ngx_modules[i]; i++) {
294299 if (ngx_modules[i]->init_process) {
295300 if (ngx_modules[i]->init_process(cycle) == NGX_ERROR) {