Commit d388d02b authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

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

parent 12259a51
Pipeline #9581 failed with stages
in 27 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);
......
Markdown is supported
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