Changeset 123 in Main for trunk/Server/config.c
- Timestamp:
- Sep 22, 2024, 10:43:47 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/config.c
r61 r123 85 85 config.root.index_count = 0; 86 86 config.root.readme_count = 0; 87 config.root.hideport = 0; 87 88 config.vhost_count = 0; 88 89 config.module_count = 0; … … 186 187 current->index_count = 0; 187 188 current->readme_count = 0; 189 current->hideport = -1; 188 190 int i; 189 191 current->name = cm_strdup(vhost); … … 217 219 config.ports[j] = port; 218 220 } 221 } else if(cm_strcaseequ(r[0], "HidePort")) { 222 current->hideport = 1; 223 } else if(cm_strcaseequ(r[0], "ShowPort")) { 224 current->hideport = 0; 219 225 } else if(cm_strcaseequ(r[0], "SSLKey")) { 220 226 if(r[1] == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.