proxitok/index.php
Pablo Ferreiro 3b5c3cd96c
hotfix
2022-03-13 18:32:44 +01:00

15 lines
279 B
PHP

<?php
require __DIR__ . "/vendor/autoload.php";
// LOAD DOTENV
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->safeLoad();
// ROUTER
$router = new Bramus\Router\Router();
$router->setNamespace('\App\Controllers');
require __DIR__ . '/routes.php';
$router->run();