1
0
mirror of https://gitea.quitesimple.org/crtxcr/cgitsb synced 2024-11-23 00:12:10 +01:00

Add cache-root option to /cgit/rc

Somehow, this option was forgotten when parsing the configfile.

Add it.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2006-12-16 13:43:01 +01:00
parent 521dc7a4bf
commit 61245ad185

@ -57,6 +57,8 @@ void cgit_global_config_cb(const char *name, const char *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)