add PropelDataCollector to debugbar, still missing some informations

This commit is contained in:
Manuel Raynaud
2013-09-07 17:37:24 +02:00
parent 9bb48a2ef1
commit 04ec683021
3 changed files with 239 additions and 10 deletions

View File

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