-rw-r--r-- | shared.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -54,12 +54,14 @@ void cgit_global_config_cb(const char *name, const char *value) else if (!strcmp(name, "logo-link")) cgit_logo_link = xstrdup(value); else if (!strcmp(name, "virtual-root")) 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) { if (!strcmp(name, "name")) cgit_repo_name = xstrdup(value); |