Removed concept of execution context and piped CloseDbConnectionMiddleware always

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

No files matched your search

-3
View File
@@ -2,11 +2,8 @@
declare(strict_types=1);
use Psr\Container\ContainerInterface;
use Shlinkio\Shlink\Common\Exec\ExecutionContext;
use Zend\Expressive\Application;
/** @var ContainerInterface $container */
$container = include __DIR__ . '/../config/container.php';
putenv(sprintf('CURRENT_SHLINK_CONTEXT=%s', ExecutionContext::WEB));
$container->get(Application::class)->run();