Create LL::NG conf for phplist

tags/0.2.0_el5
Daniel Berteaud 11 years ago
parent 1959930f1a
commit 60deaa1957
  1. 29
      root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/065phplist

@ -0,0 +1,29 @@
{
$conf->{'exportedHeaders'}->{"news.$domain"} = {
'User-Name' => '$cn',
'Auth-User' => '$uid',
'User-Mail' => '$mail'
} unless ($conf->{'exportedHeaders'}->{"news.$domain"});
$conf->{'locationRules'}->{"news.$domain"} = {
'(?#10admin)^/admin' => 'accept',
'default' => 'unprotect'
} unless ($conf->{'locationRules'}->{"news.$domain"});
$conf->{'applicationList'}->{'010apps'}->{'phplist'} = {
'options' => {
'logo' => 'phplist.png',
'name' => 'Listes de diffusion',
'description' => 'PHPList',
'uri' => "https://news.$domain",
'display' => 'auto'
},
'type' => 'application'
} unless ($conf->{'applicationList'}->{'010apps'}->{'phplist'});
$OUT = '';
}
Loading…
Cancel
Save