Changeset 40 in Main for trunk/Module/mod_cgi.c
- Timestamp:
- Sep 17, 2024, 9:31:08 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Module/mod_cgi.c
r39 r40 2 2 3 3 #include "../Server/tw_module.h" 4 5 #include <cm_string.h> 4 6 5 7 int mod_init(struct tw_config* config, struct tw_tool* tools) { … … 10 12 11 13 int mod_config(struct tw_tool* tools, char** argv, int argc) { 12 printf("args %d\n", argc); 13 return TW_CONFIG_ERROR; 14 if(cm_strcaseequ(argv[0], "AllowCGI")) { 15 return TW_CONFIG_PARSED; 16 } 17 return TW_CONFIG_NOTME; 14 18 } 15 19
Note:
See TracChangeset
for help on using the changeset viewer.