mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-22 01:33:52 +03:00
13 lines
330 B
PHP
13 lines
330 B
PHP
|
<?php
|
||
|
use Zend\Expressive\Application;
|
||
|
use Zend\ServiceManager\ServiceManager;
|
||
|
|
||
|
require __DIR__ . '/../vendor/autoload.php';
|
||
|
|
||
|
// Build container
|
||
|
$config = require __DIR__ . '/config.php';
|
||
|
$container = new ServiceManager($config['services']);
|
||
|
$container->setService('config', $config);
|
||
|
|
||
|
return $container->get(Application::class);
|