X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/0cbb50841ac82e08e715bbff614f96c7d5ba22fa..ef0c6aadf70e33ef63f0a68ca16338a49d0a3f1f:/cgit.c diff --git a/cgit.c b/cgit.c index 2aef44d..38f0fdd 100644 --- a/cgit.c +++ b/cgit.c @@ -49,6 +49,8 @@ void config_cb(const char *name, const char *value) ctx.cfg.virtual_root = ""; } else if (!strcmp(name, "nocache")) ctx.cfg.nocache = atoi(value); + else if (!strcmp(name, "noheader")) + ctx.cfg.noheader = atoi(value); else if (!strcmp(name, "snapshots")) ctx.cfg.snapshots = cgit_parse_snapshots_mask(value); else if (!strcmp(name, "enable-index-links"))