Changeset 698
- Timestamp:
- 09/12/2005 12:21:34 PM (3 years ago)
- Location:
- branches/lighttpd-merge-1.4.x
- Files:
-
- 2 modified
-
doc/configuration.txt (modified) (1 diff)
-
src/configfile.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-merge-1.4.x/doc/configuration.txt
r611 r698 58 58 var.mymodule = "foo" 59 59 server.modules += ( "mod_" + var.mymodule ) 60 var.PID is initized to the pid of lighttpd before config is parsed 60 61 61 62 # include, relative to dirname of main config file -
branches/lighttpd-merge-1.4.x/src/configfile.c
r662 r698 901 901 config_t context; 902 902 data_config *dc; 903 data_integer *dpid; 903 904 int ret; 904 905 char *pos; … … 930 931 /* default context */ 931 932 srv->config = dc->value; 933 dpid = data_integer_init(); 934 dpid->value = getpid(); 935 buffer_copy_string(dpid->key, "var.PID"); 936 array_insert_unique(srv->config, (data_unset *)dpid); 932 937 933 938 ret = config_parse_file(srv, &context, fn);

