mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-15 20:52:24 +03:00
14 lines
423 B
PHP
Executable file
14 lines
423 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
use Shlinkio\Shlink\CLI\Factory\InstallApplicationFactory;
|
|
use Symfony\Component\Console\Application;
|
|
use Zend\ServiceManager\ServiceManager;
|
|
|
|
chdir(dirname(__DIR__));
|
|
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
$container = new ServiceManager(['factories' => [
|
|
Application::class => InstallApplicationFactory::class,
|
|
]]);
|
|
$container->build(Application::class, ['isUpdate' => true])->run();
|