mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
16 lines
314 B
PHP
16 lines
314 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Zend\ServiceManager\ServiceManager;
|
|
|
|
chdir(dirname(__DIR__));
|
|
|
|
require 'vendor/autoload.php';
|
|
|
|
// Build container
|
|
$config = require __DIR__ . '/config.php';
|
|
$container = new ServiceManager($config['dependencies']);
|
|
$container->setService('config', $config);
|
|
return $container;
|