public folder, update wrapper

This commit is contained in:
Pablo Ferreiro 2022-03-11 18:56:19 +01:00
parent 58170665ed
commit db3799c344
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
24 changed files with 101 additions and 88 deletions

View file

@ -1,14 +0,0 @@
<?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();