- Fixed Lean' console default adapter
This commit is contained in:
parent
6001ecdecd
commit
e032c89fdc
|
@ -14,6 +14,14 @@ return [
|
||||||
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
|
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
|
||||||
$adapter->resolveConfiguration();
|
$adapter->resolveConfiguration();
|
||||||
|
|
||||||
|
return $adapter;
|
||||||
|
},
|
||||||
|
|
||||||
|
# @TODO BACKWARD COMPATIBILIY, TO BE REMOVED SOON !
|
||||||
|
'console.adapter' => function($c) {
|
||||||
|
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
|
||||||
|
$adapter->resolveConfiguration();
|
||||||
|
|
||||||
return $adapter;
|
return $adapter;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue