save duration and memory in debugBar

This commit is contained in:
Manuel Raynaud
2013-09-10 21:03:48 +02:00
parent f7666c1edf
commit c4bc273ad5
2 changed files with 43 additions and 6 deletions

View File

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