- Begin work on firewall

This commit is contained in:
mcndave committed 2023-11-17 23:35:56 -05:00
1 parent e78ee3a458
commit 55f5071475
4 files changed
+28 -6

No files matched your search

+6 -2
View File
@@ -24,7 +24,11 @@ return [
],
],
'ulmus' => [],
'ulmus' => [
'entities' => [
'Lean\\Console\\Entity\\Firewall' => implode(DIRECTORY_SEPARATOR, [ $path , "src", "Entity", "Firewall" ]),
],
],
'tell' => [
'json' => [
@@ -35,7 +39,7 @@ return [
]
],
'routes' => [
'routes' => ! getenv('DEBUG') ? [] : [
'Lean\\Console\\Controller' => implode(DIRECTORY_SEPARATOR, [ $path, "src", "Controller", "" ]),
],
],
+1 -1
View File
@@ -11,7 +11,7 @@ use function DI\autowire, DI\create, DI\get;
return [
'console.adapter' => function($c) {
$adapter = new ConnectionAdapter('sqlite', $c->get('config')['ulmus'], true);
$adapter = new ConnectionAdapter('lean.console', $c->get('config')['ulmus'], false);
$adapter->resolveConfiguration();
return $adapter;