1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +02:00

AUTOLOAD option to server config

This commit is contained in:
lxsang 2018-10-08 23:16:15 +02:00
parent ae601c2487
commit cee7542b88

View File

@ -88,7 +88,7 @@ static int config_handler(void *conf, const char *section, const char *name,
{
dput(pconfig->handlers, name, strdup(value));
}
else if (strcmp(section, "AUTOSTART") == 0)
else if (strcmp(section, "AUTOSTART") == 0 || strcmp(section, "AUTOLOAD") == 0)
{
// The server section must be added before the autostart section
// auto start plugin