mud.php 424 B

123456789101112131415161718192021
  1. #!/usr/bin/php
  2. <?php
  3. require __DIR__ . '/vendor/autoload.php';
  4. define('DOCUMENT_ROOT', dirname(__FILE__));
  5. use Movim\Bootstrap;
  6. use Movim\Console\DatabaseCommand;
  7. use Movim\Console\ConfigCommand;
  8. use Symfony\Component\Console\Application;
  9. $bootstrap = new Bootstrap;
  10. $bootstrap->boot();
  11. $application = new Application;
  12. $application->add(new DatabaseCommand);
  13. $application->add(new ConfigCommand);
  14. $application->run();