Browse Source

[mod_webdav] update defaults after worker_init

update defaults after worker_init for config options in global scope

(bug on master branch; never released)
master
Glenn Strauss 3 months ago
parent
commit
1cc81b703f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/mod_webdav.c

+ 2
- 0
src/mod_webdav.c View File

@ -1337,6 +1337,8 @@ SERVER_FUNC(mod_webdav_worker_init)
cpv->vtype = T_CONFIG_LOCAL;
if (!mod_webdav_sqlite3_prep(cpv->v.v, dbname, srv->errh))
return HANDLER_ERROR;
/*(update p->defaults after init)*/
if (0 == i) p->defaults.sql = cpv->v.v;
}
break;
#endif


Loading…
Cancel
Save