Use PROFILER_DETAILS in RedisManager.
This commit is contained in:
@ -49,7 +49,7 @@ class RedisManager
|
|||||||
* @var Redis
|
* @var Redis
|
||||||
*/
|
*/
|
||||||
$connection = new Redis();
|
$connection = new Redis();
|
||||||
if (Config::get('DEBUG')) {
|
if (Config::get('PROFILER_DETAILS')) {
|
||||||
$connection = new RedisDebug($connection);
|
$connection = new RedisDebug($connection);
|
||||||
}
|
}
|
||||||
if (!$connection->connect($host, $port)) {
|
if (!$connection->connect($host, $port)) {
|
||||||
|
Reference in New Issue
Block a user