Commit 4ed32cd7 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Merge branch 'alc-correction-hostlocalization-factory' into 'master'

Correction erreur dans l'appel au param de config manque ['unicaen-app'] pour être conforme.

See merge request !6
parents 12259a51 d388d02b
Pipeline #9613 failed with stages
in 34 seconds
......@@ -9,10 +9,10 @@ class HostLocalizationFactory
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
$config = $container->get('config');
$activated = $config['hostlocalization']['activated'];
$proxies = $config['hostlocalization']['proxies'];
$reverseProxies = $config['hostlocalization']['reverse-proxies'];
$masqueIp = $config['hostlocalization']['masque-ip'];
$activated = $config['unicaen-app']['hostlocalization']['activated'];
$proxies = $config['unicaen-app']['hostlocalization']['proxies'];
$reverseProxies = $config['unicaen-app']['hostlocalization']['reverse-proxies'];
$masqueIp = $config['unicaen-app']['hostlocalization']['masque-ip'];
$service = new HostLocalization($activated, $masqueIp, $proxies, $reverseProxies);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment