Introduce noplainemail option to hide email adresses from spambots
Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
This commit is contained in:
2
cgit.c
2
cgit.c
@ -51,6 +51,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, "noplainemail"))
|
||||
ctx.cfg.noplainemail = atoi(value);
|
||||
else if (!strcmp(name, "noheader"))
|
||||
ctx.cfg.noheader = atoi(value);
|
||||
else if (!strcmp(name, "snapshots"))
|
||||
|
Reference in New Issue
Block a user