change getting propel connection

This commit is contained in:
Manuel Raynaud
2013-07-05 12:57:04 +02:00
parent e0416c08f8
commit a2012259bf
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ class Thelia extends Kernel
if ($this->isDebug()) {
$serviceContainer->setLogger('defaultLogger', Tlog::getInstance());
$con = Propel::getConnection("thelia");
$con = Propel::getConnection(\Thelia\Model\Map\ProductTableMap::DATABASE_NAME);
$con->useDebug(true);
}
}