Merge branch 'mongo'

This commit is contained in:
Anton Terekhov
2012-11-12 14:17:05 +04:00
43 changed files with 1027 additions and 526 deletions

View File

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