Added new parameter 'propel.logging'

This commit is contained in:
William DURAND 2011-04-05 16:38:13 +02:00
parent 4d3241eb80
commit a02e67e1a4

View file

@ -56,6 +56,14 @@ class PropelExtension extends Extension
}
$container->setParameter('propel.charset', $charset);
if (isset($config['logging']) && $config['logging'])) {
$logging = $config['logging'];
} else {
$logging = false;
}
$container->setParameter('propel.logging', $logging);
if (!empty($dbal)) {
$this->dbalLoad($dbal, $container);
}