Fixed #42 (for real)

This commit is contained in:
William DURAND 2011-09-12 00:36:26 +02:00
parent fa89b6468f
commit af25f4ad4b

View file

@ -101,12 +101,12 @@ class Configuration implements ConfigurationInterface
->then(function($v) { return array ('connections' => array('default' => array())); })
->end()
->children()
->scalarNode('default_connection')->defaultValue('default')->end()
->scalarNode('driver')->defaultValue('mysql')->end()
->scalarNode('user')->defaultValue('root')->end()
->scalarNode('password')->defaultValue('')->end()
->scalarNode('dsn')->defaultValue('')->end()
->scalarNode('classname')->defaultValue($this->debug ? 'DebugPDO' : 'PropelPDO')->end()
->scalarNode('default_connection')->defaultValue('default')->end()
->end()
->fixXmlConfig('option')
->children()
@ -123,12 +123,12 @@ class Configuration implements ConfigurationInterface
->end()
->end()
->fixXmlConfig('setting')
->children()
->arrayNode('settings')
->children()
->arrayNode('settings')
->useAttributeAsKey('key')
->prototype('array')
->useAttributeAsKey('key')
->prototype('array')
->useAttributeAsKey('key')
->prototype('scalar')
->prototype('scalar')->end()
->end()
->end()
->end()