mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
425 B
19 lines
425 B
#!/usr/bin/php
|
|
<?php
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
define('DOCUMENT_ROOT', dirname(__FILE__));
|
|
|
|
use Movim\Bootstrap;
|
|
use Movim\Console\DatabaseCommand;
|
|
use Movim\Console\ConfigCommand;
|
|
use Symfony\Component\Console\Application;
|
|
|
|
$bootstrap = new Bootstrap();
|
|
$bootstrap->boot();
|
|
|
|
$application = new Application;
|
|
$application->add(new DatabaseCommand);
|
|
$application->add(new ConfigCommand);
|
|
$application->run();
|
|
|