Browse Source

Solves #60. Server array overwrites in specific environment config file

mmoreram 11 years ago
parent
commit
931f098d0e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      DependencyInjection/Configuration.php

+ 1 - 2
DependencyInjection/Configuration.php

@@ -14,8 +14,6 @@ use Symfony\Component\Config\Definition\ConfigurationInterface;
 
 /**
  * This is the class that validates and merges configuration from your app/config files
- *
- * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
  */
 class Configuration implements ConfigurationInterface
 {
@@ -51,6 +49,7 @@ class Configuration implements ConfigurationInterface
                     ->end()
                 ->end()
                 ->arrayNode('servers')
+                    ->performNoDeepMerging()
                     ->defaultValue(array(
                         'localhost' =>  array(
                             'hostname'  =>  '127.0.0.1',