Zero conf in progress

This commit is contained in:
Xavier Guimard 2016-01-05 18:27:21 +00:00
parent 1aaf517a69
commit 773b8662d2
4 changed files with 5 additions and 3 deletions

View File

@ -840,12 +840,12 @@ sub newConf {
}
# Verify that cfgNum has been asked
unless ( $req->params('cfgNum') ) {
unless ( defined $req->params('cfgNum') ) {
return $self->sendError( $req, "Missing configuration number", 400 );
}
# Set current conf to cfgNum
unless ( $self->getConfByNum( $req->params('cfgNum') ) ) {
unless ( defined $self->getConfByNum( $req->params('cfgNum') ) ) {
return $self->sendError(
$req,
"Configuration "

View File

@ -652,7 +652,7 @@ sub set {
$target eq 'cfgLog'
or ( defined $confs[0]->{$target}
and $confs[0]->{$target} eq $data )
or ( !defined $confs[0]->{target}
or ( !defined $confs[0]->{$target}
and defined $self->defaultValue($target)
and $data eq $self->defaultValue($target) )
)

View File

@ -597,6 +597,7 @@
"virtualHostName": "Virtual host hostname",
"virtualHosts": "Virtual Hosts",
"warning": "Warning",
"warnings": "Warnings",
"waitingForDatas": "Waiting for datas",
"webIDAuthnLevel": "Authentication level",
"webIDExportedVars": "Exported variables",

View File

@ -597,6 +597,7 @@
"virtualHostName": "Nom de l'hôte virtuel",
"virtualHosts": "Hôtes virtuels",
"warning": "Attention",
"warning": "Avertissements",
"waitingForDatas": "En attente de données",
"webIDAuthnLevel": "Niveau d'authentification",
"webIDExportedVars": "Variables exportées",