Skip to content

Commit f9947c4

Browse files
committed
Merge pull request #217 from chtipepere/master
Fix typo in symfony service filename.
2 parents 7c59031 + a379727 commit f9947c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

DependencyInjection/FOSHttpCacheExtension.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ private function loadNginx(ContainerBuilder $container, XmlFileLoader $loader, a
285285

286286
private function loadSymfony(ContainerBuilder $container, XmlFileLoader $loader, array $config)
287287
{
288-
$loader->load('symfony-client.xml');
288+
$loader->load('symfony.xml');
289289
foreach ($config['servers'] as $url) {
290290
$this->validateUrl($url, 'Not a valid web server address: "%s"');
291291
}
@@ -427,6 +427,10 @@ private function getDefaultProxyClient(array $config)
427427
return 'nginx';
428428
}
429429

430+
if (isset($config['symfony'])) {
431+
return 'symfony';
432+
}
433+
430434
throw new InvalidConfigurationException('No proxy client configured');
431435
}
432436
}

0 commit comments

Comments
 (0)