Skip to content
Snippets Groups Projects
Commit 3d0027f7 authored by Bitha17's avatar Bitha17
Browse files

refactor: changing router

parent 0a99cbbe
No related merge requests found
<?php
declare(strict_types=1);
namespace Server;
include "Server/Router/Router.php";
include "Server/Controllers/UserController.php";
include "Server/Controllers/EventController.php";
$router = new \Server\Router\Router();
$router->get('/', function() {
header('Location: /home');
});
$router->run();
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment