Commit with composer.json
This commit is contained in:
@ -30,10 +30,10 @@ class RedisManager
|
||||
{
|
||||
if (!isset(self::$connections[$name])) {
|
||||
if (!$config) {
|
||||
if (!is_object(Config::get('Redis'))) {
|
||||
if (!is_object(\Majestic\Config::get('Redis'))) {
|
||||
throw new GeneralException('Redis config no existence');
|
||||
}
|
||||
$config = Config::get('Redis')->$name;
|
||||
$config = \Majestic\Config::get('Redis')->$name;
|
||||
}
|
||||
|
||||
if (!is_array($config)) {
|
||||
|
Reference in New Issue
Block a user