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.

bootstrap.php 302B

123456789101112131415
  1. <?php
  2. use Luticate\Utils\Controller\LuticateApplication;
  3. require_once __DIR__ . '/../vendor/autoload.php';
  4. $json = file_get_contents(__DIR__ . '/../config.json');
  5. $config = json_decode($json, true);
  6. $app = new LuticateApplication($config);
  7. $app->setVersion(1.0);
  8. $app->setupRoutes();
  9. return $app;