Unidiff1 files changed, 2 insertions, 0 deletions
|
diff --git a/shared.c b/shared.c index 7149597..4574120 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -54,12 +54,14 @@ void cgit_global_config_cb(const char *name, const char *value) |
54 | else if (!strcmp(name, "logo-link")) |
54 | else if (!strcmp(name, "logo-link")) |
55 | cgit_logo_link = xstrdup(value); |
55 | cgit_logo_link = xstrdup(value); |
56 | else if (!strcmp(name, "virtual-root")) |
56 | else if (!strcmp(name, "virtual-root")) |
57 | cgit_virtual_root = xstrdup(value); |
57 | cgit_virtual_root = xstrdup(value); |
58 | else if (!strcmp(name, "nocache")) |
58 | else if (!strcmp(name, "nocache")) |
59 | cgit_nocache = atoi(value); |
59 | cgit_nocache = atoi(value); |
| |
60 | else if (!strcmp(name, "cache-root")) |
| |
61 | cgit_cache_root = xstrdup(value); |
60 | } |
62 | } |
61 | |
63 | |
62 | void cgit_repo_config_cb(const char *name, const char *value) |
64 | void cgit_repo_config_cb(const char *name, const char *value) |
63 | { |
65 | { |
64 | if (!strcmp(name, "name")) |
66 | if (!strcmp(name, "name")) |
65 | cgit_repo_name = xstrdup(value); |
67 | cgit_repo_name = xstrdup(value); |
|