Use PROFILER_DETAILS in RedisManager.

This commit is contained in:
Alexander Demidov
2012-07-10 17:03:25 +04:00
parent 34337efda4
commit 4e0b762ab0

View File

@ -49,7 +49,7 @@ class RedisManager
* @var Redis
*/
$connection = new Redis();
if (Config::get('DEBUG')) {
if (Config::get('PROFILER_DETAILS')) {
$connection = new RedisDebug($connection);
}
if (!$connection->connect($host, $port)) {