wconnect.h includes a reference to an override header file that you can use for this purpose with the following line:
#IF FILE("WCONNECT_OVERRIDE.H")
#INCLUDE WCONNECT_OVERRIDE.H
#ENDIF
wconnect_override.h should then contain #UNDEFINE statements for all constants you want to change along with #DEFINE statements for the new values. You can do this as follows:
#UNDEFINE DEBUGMODE #DEFINE DEBUGMODE .F. #UNDEFINE MAX_TABLE_CELLS #DEFINE MAX_TABLE_CELLS 20000 #UNDEFINE WWC_CACHE_TEMPLATES #DEFINE WWC_CACHE_TEMPLATES 0 #UNDEFINE VISUALWEBBUILDER #DEFINE VISUALWEBBUILDER .F. #UNDEFINE WWC_USE_SQL_SYSTEMFILES #DEFINE WWC_USE_SQL_SYSTEMFILES .F. #UNDEFINE WWSTORE_USE_SQL_TABLES #DEFINE WWSTORE_USE_SQL_TABLES .F. #UNDEFINE WWMSGBOARD_USE_SQL_TABLES #DEFINE WWMSGBOARD_USE_SQL_TABLES .F.
When an upgrade rolls around Web Connection will overwrite your wconnect.h, but the settings in wconnect_override.h remain intact.