Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Commit

Permalink
Merge pull request #39 from nicam/master
Browse files Browse the repository at this point in the history
FIX issue when no ip's are set
  • Loading branch information
lsmith77 committed Dec 5, 2013
2 parents 8d17485 + 0a0cc48 commit e84ae12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DependencyInjection/LiipCacheControlExtension.php
Expand Up @@ -34,6 +34,7 @@ public function load(array $configs, ContainerBuilder $container)
foreach ($config['rules'] as $cache) {
// domain is depreciated and will be removed in future
$host = is_null($cache['host']) && $cache['domain'] ? $cache['domain'] : $cache['host'];
$cache['ips'] = (empty($cache['ips'])) ? null : $cache['ips'];

$matcher = $this->createRequestMatcher(
$container,
Expand Down

0 comments on commit e84ae12

Please sign in to comment.