Commit Graph

1 Commits

Author SHA1 Message Date
lemoer
0834985205 check_site_lib: merge site & domain and provide restricting feature
- provide in_domain() and in_site() functions to restrict usage:

need_string('foo.bar') -- allowed in both domain and site config
need_string(in_site('foo.bar')) -- only allowed in site config
need_string(in_domain('foo.bar')) -- only allowed in domain config

- need_* merge the domain and site configs while prefering the domain
  values
2017-12-28 19:59:38 +01:00