Fixed classname configuration

This commit is contained in:
Kévin Gomez 2013-10-31 22:30:08 +00:00
commit 44729e47f5

View file

@ -121,7 +121,7 @@ class Configuration implements ConfigurationInterface
->end()
->defaultValue('')
->end()
->scalarNode('classname')->defaultValue($this->debug ? 'DebugPDO' : 'PropelPDO')->end()
->scalarNode('classname')->defaultValue($this->debug ? '\Propel\Runtime\Connection\DebugPDO' : '\Propel\Runtime\Connection\ConnectionWrapper')->end()
->end()
->fixXmlConfig('option')
->children()
@ -195,7 +195,7 @@ class Configuration implements ConfigurationInterface
->end()
->defaultValue('')
->end()
->scalarNode('classname')->defaultValue($this->debug ? 'DebugPDO' : 'PropelPDO')->end()
->scalarNode('classname')->defaultValue($this->debug ? '\Propel\Runtime\Connection\DebugPDO' : '\Propel\Runtime\Connection\ConnectionWrapper')->end()
->arrayNode('slaves')
->useAttributeAsKey('name')
->prototype('array')