diff --git a/PropelBundle.php b/PropelBundle.php index d34c08f..1e73429 100644 --- a/PropelBundle.php +++ b/PropelBundle.php @@ -39,6 +39,9 @@ class PropelBundle extends Bundle } \Propel::initialize(); + + $this->container->set('propel.connection', + \Pnfigurationropel::getConnection($this->container->getParameter('propel.dbal.default_connection'))); } }