Compare commits
3 Commits
38638b5ad4
...
d76148fed9
Author | SHA1 | Date | |
---|---|---|---|
|
d76148fed9 | ||
|
e032c89fdc | ||
|
6001ecdecd |
@ -10,6 +10,14 @@ use Storage\Session;
|
|||||||
use function DI\autowire, DI\create, DI\get;
|
use function DI\autowire, DI\create, DI\get;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
'lean:adapter.sqlite' => function($c) {
|
||||||
|
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
|
||||||
|
$adapter->resolveConfiguration();
|
||||||
|
|
||||||
|
return $adapter;
|
||||||
|
},
|
||||||
|
|
||||||
|
# @TODO BACKWARD COMPATIBILIY, TO BE REMOVED SOON !
|
||||||
'console.adapter' => function($c) {
|
'console.adapter' => function($c) {
|
||||||
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
|
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
|
||||||
$adapter->resolveConfiguration();
|
$adapter->resolveConfiguration();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user