diff options
Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -152,6 +152,8 @@ static void config_cb(const char *name, const char *value) | |||
| 152 | ctx.cfg.snapshots = cgit_parse_snapshots_mask(value); | 152 | ctx.cfg.snapshots = cgit_parse_snapshots_mask(value); |
| 153 | else if (!strcmp(name, "enable-filter-overrides")) | 153 | else if (!strcmp(name, "enable-filter-overrides")) |
| 154 | ctx.cfg.enable_filter_overrides = atoi(value); | 154 | ctx.cfg.enable_filter_overrides = atoi(value); |
| 155 | else if (!strcmp(name, "enable-follow-links")) | ||
| 156 | ctx.cfg.enable_follow_links = atoi(value); | ||
| 155 | else if (!strcmp(name, "enable-http-clone")) | 157 | else if (!strcmp(name, "enable-http-clone")) |
| 156 | ctx.cfg.enable_http_clone = atoi(value); | 158 | ctx.cfg.enable_http_clone = atoi(value); |
| 157 | else if (!strcmp(name, "enable-index-links")) | 159 | else if (!strcmp(name, "enable-index-links")) |
| @@ -333,6 +335,8 @@ static void querystring_cb(const char *name, const char *value) | |||
| 333 | ctx.qry.context = atoi(value); | 335 | ctx.qry.context = atoi(value); |
| 334 | } else if (!strcmp(name, "ignorews")) { | 336 | } else if (!strcmp(name, "ignorews")) { |
| 335 | ctx.qry.ignorews = atoi(value); | 337 | ctx.qry.ignorews = atoi(value); |
| 338 | } else if (!strcmp(name, "follow")) { | ||
| 339 | ctx.qry.follow = atoi(value); | ||
| 336 | } | 340 | } |
| 337 | } | 341 | } |
| 338 | 342 | ||
