- Timestamp:
- 1999-09-03T21:51:47+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/action.cpp
r506 r527 12 12 /* 13 13 $Log$ 14 Revision 1.15 1999/09/03 09:51:47 rjmcnab 15 removed the argdefault configuration option (it should now be 16 done with cgiarg) 17 14 18 Revision 1.14 1999/09/02 00:22:42 rjmcnab 15 19 Changes to get it compiling on AIX … … 95 99 96 100 // configure should be called once for each configuration line 97 // the default version configures the default for any arguments 98 // which this action uses 99 void action::configure (const text_t &key, const text_tarray &cfgline) { 100 cgiarginfo *info = NULL; 101 if ((key == "argdefault") && (cfgline.size() == 2) && 102 ((info = argsinfo.getarginfo(cfgline[0])) != NULL)) { 103 if (info->defaultstatus <= cgiarginfo::config) { 104 info->defaultstatus = cgiarginfo::config; 105 info->argdefault = cfgline[1]; 106 } 107 } 101 // the default version does nothing 102 void action::configure (const text_t &/*key*/, const text_tarray &/*cfgline*/) { 108 103 } 109 104
Note:
See TracChangeset
for help on using the changeset viewer.