summaryrefslogtreecommitdiffabout
path: root/shared.c
Side-by-side diff
Diffstat (limited to 'shared.c') (more/less context) (show whitespace changes)
-rw-r--r--shared.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index 7149597..4574120 100644
--- a/shared.c
+++ b/shared.c
@@ -59,2 +59,4 @@ void cgit_global_config_cb(const char *name, const char *value)
cgit_nocache = atoi(value);
+ else if (!strcmp(name, "cache-root"))
+ cgit_cache_root = xstrdup(value);
}