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.

13 lines
269B

  1. <?php
  2. use Pecee\SimpleRouter\SimpleRouter;
  3. require __DIR__.'/../vendor/autoload.php';
  4. $dotenv = Dotenv\Dotenv::create(__DIR__.'/../');
  5. $dotenv->load();
  6. SimpleRouter::get('/', 'Action@home');
  7. SimpleRouter::get('/do/{parser}', 'Action@parse');
  8. SimpleRouter::start();