|
diff --git a/cgit.c b/cgit.c index 513ea12..2039ab1 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -52,4 +52,6 @@ void config_cb(const char *name, const char *value) |
52 | } else if (!strcmp(name, "nocache")) |
52 | } else if (!strcmp(name, "nocache")) |
53 | ctx.cfg.nocache = atoi(value); |
53 | ctx.cfg.nocache = atoi(value); |
| |
54 | else if (!strcmp(name, "noheader")) |
| |
55 | ctx.cfg.noheader = atoi(value); |
54 | else if (!strcmp(name, "snapshots")) |
56 | else if (!strcmp(name, "snapshots")) |
55 | ctx.cfg.snapshots = cgit_parse_snapshots_mask(value); |
57 | ctx.cfg.snapshots = cgit_parse_snapshots_mask(value); |
@@ -74,4 +76,6 @@ void config_cb(const char *name, const char *value) |
74 | else if (!strcmp(name, "cache-dynamic-ttl")) |
76 | else if (!strcmp(name, "cache-dynamic-ttl")) |
75 | ctx.cfg.cache_dynamic_ttl = atoi(value); |
77 | ctx.cfg.cache_dynamic_ttl = atoi(value); |
| |
78 | else if (!strcmp(name, "embedded")) |
| |
79 | ctx.cfg.embedded = atoi(value); |
76 | else if (!strcmp(name, "max-message-length")) |
80 | else if (!strcmp(name, "max-message-length")) |
77 | ctx.cfg.max_msg_len = atoi(value); |
81 | ctx.cfg.max_msg_len = atoi(value); |
|