Project structure change
This commit is contained in:
parent
bd1642957c
commit
837f126021
29 changed files with 298 additions and 254 deletions
|
|
@ -7,5 +7,8 @@ $dotenv->safeLoad();
|
|||
|
||||
// ROUTER
|
||||
$router = new Bramus\Router\Router();
|
||||
require __DIR__ . '/routes/index.php';
|
||||
$router->setNamespace('\App\Controllers');
|
||||
|
||||
require __DIR__ . '/routes.php';
|
||||
|
||||
$router->run();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue