[mod_vhostdb_dbi] allow strings and ints in config

e.g. allow "port" value to be a string or integer instead of requiring
     port be a string
personal/stbuehler/ci-build
Glenn Strauss 2020-07-16 00:30:20 -04:00
parent 3dca923591
commit 1a516b4c4c
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ static void mod_vhostdb_patch_config(request_st * const r, plugin_data * const p
SETDEFAULTS_FUNC(mod_vhostdb_set_defaults) {
static const config_plugin_keys_t cpk[] = {
{ CONST_STR_LEN("vhostdb.dbi"),
T_CONFIG_ARRAY_KVSTRING,
T_CONFIG_ARRAY_KVANY,
T_CONFIG_SCOPE_CONNECTION }
,{ NULL, 0,
T_CONFIG_UNSET,