mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 08:56:42 -06:00
13 lines
369 B
PHP
13 lines
369 B
PHP
<?php
|
|
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();
|