1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/mud.php

20 lines
425 B
PHP
Raw Normal View History

2016-03-15 16:28:38 +01:00
#!/usr/bin/php
2016-03-29 14:12:33 +02:00
<?php
require __DIR__ . '/vendor/autoload.php';
2016-03-15 16:28:38 +01:00
define('DOCUMENT_ROOT', dirname(__FILE__));
2016-03-29 14:12:33 +02:00
use Movim\Bootstrap;
2016-04-14 13:55:24 +02:00
use Movim\Console\DatabaseCommand;
use Movim\Console\ConfigCommand;
use Symfony\Component\Console\Application;
2016-03-15 16:28:38 +01:00
$bootstrap = new Bootstrap();
$bootstrap->boot();
2016-04-14 13:55:24 +02:00
$application = new Application;
$application->add(new DatabaseCommand);
$application->add(new ConfigCommand);
$application->run();
2016-03-15 16:28:38 +01:00