diff --git a/composer.json b/composer.json index fbf72e8..372fc66 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,8 @@ "lean" : { "autoload": { "definitions" : [ - "meta/definitions/software.php" + "meta/definitions/software.php", + "meta/definitions/storage.php" ], "config": [ "meta/config.php" diff --git a/meta/definitions/storage.php b/meta/definitions/storage.php new file mode 100644 index 0000000..5163015 --- /dev/null +++ b/meta/definitions/storage.php @@ -0,0 +1,19 @@ + function($c) { + $adapter = new ConnectionAdapter('sqlite', $c->get('config')['ulmus'], true); + $adapter->resolveConfiguration(); + + return $adapter; + } +]; diff --git a/src/Controller/Firewall.php b/src/Controller/Firewall.php new file mode 100644 index 0000000..74e03b8 --- /dev/null +++ b/src/Controller/Firewall.php @@ -0,0 +1,8 @@ +