mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-28 09:51:40 -06:00
14 lines
316 B
PHP
14 lines
316 B
PHP
<?php
|
|
use Zend\Expressive\Application;
|
|
use Zend\ServiceManager\ServiceManager;
|
|
|
|
chdir(dirname(__DIR__));
|
|
|
|
require 'vendor/autoload.php';
|
|
|
|
// Build container
|
|
$config = require __DIR__ . '/config.php';
|
|
$container = new ServiceManager($config['services']);
|
|
$container->setService('config', $config);
|
|
return $container;
|