Unidiff1 files changed, 3 insertions, 0 deletions
|
diff --git a/shared.c b/shared.c index 8cb4808..fd8b1e3 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -28,2 +28,3 @@ char *cgit_cache_root = CGIT_CACHE_ROOT; |
28 | char *cgit_repo_group = NULL; |
28 | char *cgit_repo_group = NULL; |
| |
29 | char *cgit_robots = "index, nofollow"; |
29 | |
30 | |
@@ -199,2 +200,4 @@ void cgit_global_config_cb(const char *name, const char *value) |
199 | cgit_renamelimit = atoi(value); |
200 | cgit_renamelimit = atoi(value); |
| |
201 | else if (!strcmp(name, "robots")) |
| |
202 | cgit_robots = xstrdup(value); |
200 | else if (!strcmp(name, "repo.group")) |
203 | else if (!strcmp(name, "repo.group")) |
|