You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
390 B
17 lines
390 B
<?php
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
use DI\Container;
|
|
use Slim\Factory\AppFactory;
|
|
|
|
$container = new Container();
|
|
AppFactory::setContainer($container);
|
|
$app = AppFactory::create();
|
|
|
|
// Inclusion des settings, dépendances et routes
|
|
require __DIR__ . '/../src/settings.php';
|
|
require __DIR__ . '/../src/dependencies.php';
|
|
require __DIR__ . '/../src/routes.php';
|
|
|
|
$app->run();
|