31 lines
913 B
Plaintext
31 lines
913 B
Plaintext
{
|
|
|
|
$conf->{'exportedHeaders'}->{"sondages.$domain"} = {
|
|
'User-Name' => '$cn',
|
|
'Auth-User' => '$uid',
|
|
'User-Email' => '$mail',
|
|
'User-Groups' => '$groups'
|
|
} unless ($conf->{'exportedHeaders'}->{"sondages.$domain"});
|
|
|
|
$conf->{'locationRules'}->{"sondages.$domain"} = {
|
|
'(?#10logout)^/(index\\.php/)?admin/authentication/sa/logout' => 'logout_app',
|
|
'(?#20admin)^/(index\\.php/)?admin' => '$groups =~ /\\bequipe|admins\\b/',
|
|
'default' => 'unprotect'
|
|
} unless ($conf->{'locationRules'}->{"sondages.$domain"});
|
|
|
|
$conf->{'applicationList'}->{'010apps'}->{'limesurvey'} = {
|
|
'options' => {
|
|
'logo' => 'survey.png',
|
|
'name' => 'Outil de sondage',
|
|
'description' => 'Limesurvey',
|
|
'uri' => "https://sondages.$domain",
|
|
'display' => 'auto'
|
|
},
|
|
'type' => 'application'
|
|
} unless ($conf->{'applicationList'}->{'010apps'}->{'limesurvey'});
|
|
|
|
|
|
$OUT = '';
|
|
|
|
}
|