16 lines
223 B
PHP
16 lines
223 B
PHP
<?php
|
|
|
|
require '../vendor/autoload.php';
|
|
|
|
require '../helpers.php';
|
|
|
|
use WillySoft\Route as App;
|
|
|
|
App::get('/', fn() =>
|
|
view('home'));
|
|
|
|
App::get('/test', fn() =>
|
|
view('test'));
|
|
|
|
http_response_code(404);
|
|
view('404'); |