Somehow, this option was forgotten when parsing the configfile.
Add it.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit_virtual_root = xstrdup(value);
else if (!strcmp(name, "nocache"))
cgit_nocache = atoi(value);
cgit_virtual_root = xstrdup(value);
else if (!strcmp(name, "nocache"))
cgit_nocache = atoi(value);
+ else if (!strcmp(name, "cache-root"))
+ cgit_cache_root = xstrdup(value);
}
void cgit_repo_config_cb(const char *name, const char *value)
}
void cgit_repo_config_cb(const char *name, const char *value)