proxitok/index.php
2022-05-22 11:48:06 +02:00

15 lines
289 B
PHP

<?php
require __DIR__ . "/vendor/autoload.php";
$dotenv = new josegonzalez\Dotenv\Loader(__DIR__ . '/.env');
$dotenv->parse();
$dotenv->toEnv();
// ROUTER
$router = new Bramus\Router\Router();
$router->setNamespace('\App\Controllers');
require __DIR__ . '/routes.php';
$router->run();