ryouko/public/index.php
2023-09-05 20:08:16 +00:00

24 lines
465 B
PHP

<?php
namespace Ryouko;
use Index\Data\DbType;
use Index\Http\HttpFx;
require_once __DIR__ . '/../ryouko.php';
$router = new HttpFx;
$router->use('/', function($response) {
$response->setPoweredBy('Ryouko');
});
$router->get('/', function() {
return <<<HTML
<!doctype html>
<meta charset="utf-8">
<title>Patchii Snippets</title>
<p>Not sure if it'll be coming sooner than Patchii itself at this point but we'll see.</p>
HTML;
});
$router->dispatch();