mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-25 00:20:41 -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();
|