mirror of
https://git.zx2c4.com/cgit
synced 2025-07-31 08:04:28 +02:00
Introduce noplainemail option to hide email adresses from spambots
Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
This commit is contained in:
parent
286a905842
commit
2f56e390f0
7 changed files with 22 additions and 7 deletions
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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue