Removed concept of execution context and piped CloseDbConnectionMiddleware always

This commit is contained in:
Alejandro Celaya
2018-12-07 19:46:46 +01:00
parent 8a23c90e46
commit c0bdd8fc77
5 changed files with 5 additions and 37 deletions

View File

@@ -3,11 +3,8 @@
declare(strict_types=1);
use Interop\Container\ContainerInterface;
use Shlinkio\Shlink\Common\Exec\ExecutionContext;
use Symfony\Component\Console\Application as CliApp;
/** @var ContainerInterface $container */
$container = include __DIR__ . '/../config/container.php';
putenv(sprintf('CURRENT_SHLINK_CONTEXT=%s', ExecutionContext::CLI));
$container->get(CliApp::class)->run();