Add MariaDB container; add PDO connection; add error middleware
This commit is contained in:
parent
114a67dbe4
commit
2bb7ea54a2
6 changed files with 76 additions and 9 deletions
|
|
@ -13,7 +13,7 @@ $settings = new Settings();
|
|||
$container = Dependencies::createContainer($settings);
|
||||
$app = AppFactory::createFromContainer($container);
|
||||
|
||||
Middlewares::setMiddlewares($app);
|
||||
Middlewares::setMiddlewares($app, $settings);
|
||||
Routes::setRoutes($app);
|
||||
|
||||
$app->run();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue