16 lines
267 B
PHP
16 lines
267 B
PHP
<?php
|
|
|
|
require_once("Router/Router.php");
|
|
require_once("Router/Response.php");
|
|
|
|
use Router\Response;
|
|
use Router\Router;
|
|
|
|
$app = new Router("/DirektiveDesDons");
|
|
|
|
|
|
$app->get("/", function (array $req, Response $res) {
|
|
$res->send("Hello World");
|
|
});
|
|
|
|
$app->start(); |