PSE loop todo

This commit is contained in:
Etienne Roudeix
2013-09-11 11:00:55 +02:00
parent 3d31090344
commit c11821153c
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ use Thelia\Type;
*
* Product Sale Elements loop
*
* @todo : manage attribute_availability
* @todo : manage attribute_availability ?
*
* Class ProductSaleElements
* @package Thelia\Core\Template\Loop

View File

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